Skip to content

Commit 63af19b

Browse files
committed
Improving NodeJS installer
1 parent 4d8f9c8 commit 63af19b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

installers/node/installer.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,8 @@ description = "NodeJs v12"
44

55
[apt]
66
sh = """
7-
if [ -n "$(uname -a | grep Ubuntu)" ]; then
8-
curl -sL https://deb.nodesource.com/setup_12.x | @sudo -E bash -
9-
@sudo apt-get install -y nodejs
10-
else
11-
curl -sL https://deb.nodesource.com/setup_12.x | bash -
12-
@sudo apt-get install -y nodejs
13-
fi
7+
curl -sL https://deb.nodesource.com/setup_12.x | @sudo -E bash -
8+
@sudo apt-get install -y nodejs
149
"""
1510

1611
[yum]

0 commit comments

Comments
 (0)