Skip to content

Commit 692e531

Browse files
committed
improved termux detection
1 parent 930f6be commit 692e531

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ if [ -f '/etc/arch-release' ]; then
102102
elif [ -f '/etc/fedora-release' ]; then
103103
fedora_install
104104
else
105-
if [ "$OSTYPE" == 'linux-android' ]; then
106-
termux_install
107-
else
105+
if [ -z "${TERMUX_VERSION}" ]; then
108106
debian_install
107+
else
108+
termux_install
109109
fi
110110
fi
111111

0 commit comments

Comments
 (0)