Skip to content

Commit

Permalink
improved termux detection
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhiteh4t committed Jan 22, 2024
1 parent 930f6be commit 692e531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ if [ -f '/etc/arch-release' ]; then
elif [ -f '/etc/fedora-release' ]; then
fedora_install
else
if [ "$OSTYPE" == 'linux-android' ]; then
termux_install
else
if [ -z "${TERMUX_VERSION}" ]; then
debian_install
else
termux_install
fi
fi

Expand Down

0 comments on commit 692e531

Please sign in to comment.