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)
1010 echo -e " ${bold}${lightyellow} Installing Gamedig${default} "
1111 fn_script_log_info " Installing Gamedig"
1212 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"
1414 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
1519fi
You can’t perform that action at this time.
0 commit comments