diff --git a/install.sh b/install.sh index 4e85c29..9d664a3 100644 --- a/install.sh +++ b/install.sh @@ -9,9 +9,9 @@ chown -R digd:digd /opt/digd.js /srv/digd.js echo "v8.9.0" > /tmp/NODEJS_VER export NODE_PATH=/opt/digd.js/lib/node_modules export NPM_CONFIG_PREFIX=/opt/digd.js -curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp -bash ./install-node.sh.tmp -rm ./install-node.sh.tmp +curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp +bash ./node-installer.sh.tmp +rm ./node-installer.sh.tmp /opt/digd.js/bin/node /opt/digd.js/bin/npm install -g npm@4 git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js