lamassu-update minor fix (#174)
* lamassu-update minor fix reset the terminal when linking/unlinking new exes * moved hash -r
This commit is contained in:
parent
6a658c4d36
commit
7eb8052b82
1 changed files with 3 additions and 0 deletions
|
|
@ -69,4 +69,7 @@ BACKUP_CRON="@daily $BACKUP_CMD > /dev/null"
|
||||||
( (crontab -l 2>/dev/null || echo -n "") | grep -v '@daily.*lamassu-backup-pg'; echo $BACKUP_CRON ) | crontab - >> $LOG_FILE 2>&1
|
( (crontab -l 2>/dev/null || echo -n "") | grep -v '@daily.*lamassu-backup-pg'; echo $BACKUP_CRON ) | crontab - >> $LOG_FILE 2>&1
|
||||||
$BACKUP_CMD >> $LOG_FILE 2>&1
|
$BACKUP_CMD >> $LOG_FILE 2>&1
|
||||||
|
|
||||||
|
# reset terminal to link new executables
|
||||||
|
hash -r
|
||||||
|
|
||||||
decho "Update complete!"
|
decho "Update complete!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue