diff options
Diffstat (limited to 'zshfunc/upgrade-torproject')
-rw-r--r-- | zshfunc/upgrade-torproject | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/zshfunc/upgrade-torproject b/zshfunc/upgrade-torproject index 59c551c..631cefd 100644 --- a/zshfunc/upgrade-torproject +++ b/zshfunc/upgrade-torproject @@ -2,15 +2,4 @@ local i -cd -for i in $TORPROJECTHOSTS; do - mkdir hosts/$i 2>/dev/null || continue; - echo $i; - preexec $i; - ssh $i -t ' - sudo apt-get update && - sudo apt-get dist-upgrade && - sudo apt-get clean && - if ! grep "^OK" /var/cache/dsa/nagios/apt; then sudo /usr/sbin/dsa-update-apt-status; fi - '; -done +upgrade-all-Generic tpo upgrade-one-torproject $TORPROJECTHOSTS |