We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb9c5a commit 68bc0f0Copy full SHA for 68bc0f0
bin/v-update-sys-hestia-git
@@ -30,15 +30,8 @@ check_hestia_demo_mode
30
if [ -z $(which "node") ]; then
31
read -p "NodeJS not found. Install now to proceed? [Y/n] " answer
32
if [ "$answer" = 'y' ] || [ "$answer" = 'Y' ]; then
33
- if [ "$OS_TYPE" = "Debian" ]; then
34
- # Debian
35
- curl -fsSL "https://deb.nodesource.com/setup_$nodejs_ver.x" | bash - &&\
36
- apt-get install -y nodejs
37
- else
38
- # Ubuntu
39
- curl -fsSL "https://deb.nodesource.com/setup_$nodejs_ver.x" | sudo -E bash - &&\
40
- sudo apt-get install -y nodejs
41
- fi
+ curl -fsSL "https://deb.nodesource.com/setup_$nodejs_ver.x" | bash - &&\
+ sudo apt-get install -y nodejs
42
else
43
exit 0
44
fi
0 commit comments