update installer with v1.2

This commit is contained in:
AJ ONeal 2017-12-14 20:33:32 -07:00
parent bc93b942ee
commit d8ead3181d
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ sudo mkdir -p /opt/digd.js /srv/digd.js
#chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js #chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js
chown -R digd:digd /opt/digd.js /srv/digd.js chown -R digd:digd /opt/digd.js /srv/digd.js
echo "v8.9.0" > /tmp/NODEJS_VER echo "v8.9.3" > /tmp/NODEJS_VER
export NODE_PATH=/opt/digd.js/lib/node_modules export NODE_PATH=/opt/digd.js/lib/node_modules
export NPM_CONFIG_PREFIX=/opt/digd.js export NPM_CONFIG_PREFIX=/opt/digd.js
curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp
@ -16,7 +16,7 @@ rm ./node-installer.sh.tmp
git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js
pushd /opt/digd.js/lib/node_modules/digd.js pushd /opt/digd.js/lib/node_modules/digd.js
git checkout v1.1 git checkout v1.2
/opt/digd.js/bin/node /opt/digd.js/bin/npm install /opt/digd.js/bin/node /opt/digd.js/bin/npm install
popd popd