update from master branch, not stable branch

This commit is contained in:
Josh Harvey 2018-10-06 13:19:52 +02:00
parent 3b14a715b4
commit 097de6dc97

View file

@ -45,7 +45,7 @@ decho "version installed $(node -v)"
export NPM_BIN=$(npm -g bin) export NPM_BIN=$(npm -g bin)
decho "updating lamassu-server" decho "updating lamassu-server"
npm -g install lamassu/lamassu-server#stable --unsafe-perm >> ${LOG_FILE} 2>&1 npm -g install lamassu/lamassu-server#master --unsafe-perm >> ${LOG_FILE} 2>&1
decho "rebuilding npm deps" decho "rebuilding npm deps"
cd $(npm root -g)/lamassu-server/ >> ${LOG_FILE} 2>&1 cd $(npm root -g)/lamassu-server/ >> ${LOG_FILE} 2>&1
@ -73,7 +73,7 @@ $BACKUP_CMD >> $LOG_FILE 2>&1
decho "updating motd scripts" decho "updating motd scripts"
set +e set +e
chmod -x /etc/update-motd.d/*-release-upgrade chmod -x /etc/update-motd.d/*-release-upgrade
chmod -x /etc/update-motd.d/*-updates-available chmod -x /etc/update-motd.d/*-updates-available
chmod -x /etc/update-motd.d/*-reboot-required chmod -x /etc/update-motd.d/*-reboot-required
chmod -x /etc/update-motd.d/*-help-text chmod -x /etc/update-motd.d/*-help-text