summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/install.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index efdb7d482..fcfbcf778 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -84,8 +84,7 @@ command_exists() {
user_can_sudo() {
# Check if sudo is installed
command_exists sudo || return 1
- # Termux can't run sudo unless the device is rooted. Either way, `chsh` works
- # without sudo, so we can detect it and exit the function early.
+ # Termux can't run sudo, so we can detect it and exit the function early.
case "$PREFIX" in
*com.termux*) return 1 ;;
esac