浏览代码

chore(installer): remove words triggering false positives in antiviruses

Marc Cornellà 1 年之前
父节点
当前提交
f8bf88edca
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tools/install.sh

+ 1 - 2
tools/install.sh

@@ -84,8 +84,7 @@ command_exists() {
 user_can_sudo() {
 user_can_sudo() {
   # Check if sudo is installed
   # Check if sudo is installed
   command_exists sudo || return 1
   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
   case "$PREFIX" in
   *com.termux*) return 1 ;;
   *com.termux*) return 1 ;;
   esac
   esac