Skip to content

Commit 362a0fe

Browse files
committed
Fix issue in installers requireing sudo even it is not nessesarry
1 parent 18fcb41 commit 362a0fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keys
869869
# Detect if nodejs is allready installed if not add the repo
870870
echo "[ * ] Node.js 20.x"
871871
if [ -z $(which "node") ]; then
872-
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
872+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
873873
else
874874
echo "- Node.js is already installed"
875875
fi

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keys
838838
# Detect if nodejs is allready installed if not add the repo
839839
echo "[ * ] Node.js 20.x"
840840
if [ -z $(which "node") ]; then
841-
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
841+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
842842
else
843843
echo "- Node.js is already installed"
844844
fi

0 commit comments

Comments
 (0)