File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ if [ "$(command -v node)" ] && [ "$(node -v | cut -d 'v' -f 2 | cut -d '.' -f 1)
10
10
echo -e " ${bold}${lightyellow} Installing Gamedig${default} "
11
11
fn_script_log_info " Installing Gamedig"
12
12
cd " ${lgsmdir} " || exit
13
- wget -N --no-check-certificate " https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch} /package.json"
13
+ curl -L -o package.json " https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch} /package.json"
14
14
npm install
15
+ elif [ " $( command -v node) " ] && [ " $( node -v | cut -d ' v' -f 2 | cut -d ' .' -f 1) " -ge 16 ]; then
16
+ cd " ${lgsmdir} " || exit
17
+ curl -s -L -o package.json " https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${githubbranch} /package.json"
18
+ npm update > /dev/null 2>&1
15
19
fi
You can’t perform that action at this time.
0 commit comments