Ver Fonte

Don't use sudo

Jaap Marcus há 1 ano atrás
pai
commit
26f2baf6c6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/hst_autocompile.sh

+ 1 - 1
src/hst_autocompile.sh

@@ -282,7 +282,7 @@ if [ "$dontinstalldeps" != 'true' ]; then
 		codename="$(lsb_release -s -c)"
 		codename="$(lsb_release -s -c)"
 
 
 		if [ -z $(which "node") ]; then
 		if [ -z $(which "node") ]; then
-			curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
+			curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
 		fi
 		fi
 
 
 		echo "Installing Node.js..."
 		echo "Installing Node.js..."