diff options
Diffstat (limited to 'zshfunc')
-rw-r--r-- | zshfunc/upgrade-torproject | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zshfunc/upgrade-torproject b/zshfunc/upgrade-torproject index 1dd6791..59c551c 100644 --- a/zshfunc/upgrade-torproject +++ b/zshfunc/upgrade-torproject @@ -10,6 +10,7 @@ for i in $TORPROJECTHOSTS; do ssh $i -t ' sudo apt-get update && sudo apt-get dist-upgrade && - sudo apt-get clean + sudo apt-get clean && + if ! grep "^OK" /var/cache/dsa/nagios/apt; then sudo /usr/sbin/dsa-update-apt-status; fi '; done |