3 changed files with 23 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
#!/bin/bash |
|||
# LinuxGSM install_gamedig.sh module |
|||
# Author: Daniel Gibbs |
|||
# Contributors: http://linuxgsm.com/contrib |
|||
# Website: https://linuxgsm.com |
|||
# Description: Installs nodejs and gamedig |
|||
|
|||
if [ "$(command -v node)" ] || [ ! -f "${lgsmdir}/node_modules/gamedig/bin/gamedig.js" ]; then |
|||
cd "${lgsmdir}" || exit |
|||
npm install [email protected] |
|||
fi |
Loading…
Reference in new issue