1 changed files with 1 additions and 1 deletions
@ -5,7 +5,7 @@ |
|||||
# Website: https://linuxgsm.com |
# Website: https://linuxgsm.com |
||||
# Description: Installs nodejs and gamedig |
# Description: Installs nodejs and gamedig |
||||
|
|
||||
if [ "$(command -v node)" ] || [ ! -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ]; then |
if [ "$(command -v node)" ] && [ ! -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ]; then |
||||
cd "${lgsmdir}" || exit |
cd "${lgsmdir}" || exit |
||||
npm install [email protected] |
npm install [email protected] |
||||
fi |
fi |
||||
|
Loading…
Reference in new issue