update from master branch, not stable branch
This commit is contained in:
parent
3b14a715b4
commit
097de6dc97
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue