summaryrefslogtreecommitdiff
path: root/tools/install.sh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2023-04-03 22:21:49 +0200
committerMarc Cornellà <hello@mcornella.com>2023-04-03 22:21:49 +0200
commitf8bf88edca7a3246e065f13cefac2c5f1ab396e0 (patch)
treeb9b4156ab34bda0fa502ae86e0668814d9fd7526 /tools/install.sh
parentd47e1d65f66f9bb2e7a96ba58797b33f0e91a623 (diff)
downloadzsh-f8bf88edca7a3246e065f13cefac2c5f1ab396e0.tar.gz
zsh-f8bf88edca7a3246e065f13cefac2c5f1ab396e0.tar.bz2
zsh-f8bf88edca7a3246e065f13cefac2c5f1ab396e0.zip
chore(installer): remove words triggering false positives in antiviruses
Diffstat (limited to 'tools/install.sh')
-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