diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-06-27 07:31:13 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2008-06-27 07:31:13 +0000 |
commit | 15db7359d8f493a7eb682d74bed8ac5584daeb90 (patch) | |
tree | f5adcfa01428b52010a07e699efbad0184a33164 /zshrc | |
parent | ff7fbe352c9b7da862596f95b82c2780385d2c10 (diff) |
Fix flag name
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@360 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -365,23 +365,10 @@ upgrade-porter-chroots() { done'; done } -upgrade-porter-hosts() { - cd - for i in `cat ~/.csshrc | grep '^debporterbox' | sed -e 's/^.*=//' | tr ' ' '\n'`; do - mkdir hosts/chroot-$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; - '; - done -} upgrade-debian-hosts() { cd for i in `cat ~/.csshrc | grep '^deb' | sed -e 's/^.*=//' | tr ' ' '\n'`; do - mkdir hosts/chroot-$i 2>/dev/null || continue; + mkdir hosts/$i 2>/dev/null || continue; echo $i; preexec $i; ssh $i -t ' @@ -395,7 +382,7 @@ upgrade-debian-hosts() { upgrade-systems() { cd for i in `cat ~/.csshrc | tr ' ' '\n' | grep @`; do - mkdir hosts/chroot-$i 2>/dev/null || continue; + mkdir hosts/$i 2>/dev/null || continue; echo $i; preexec $i; ssh $i -t 'apt-get update && @@ -410,7 +397,7 @@ upgrade-systems() { upgrade-came() { cd for i in $HOSTS; do - mkdir hosts/chroot-$i 2>/dev/null || continue; + mkdir hosts/$i 2>/dev/null || continue; echo $i; preexec $i; ssh -l root $i -t 'apt-get update && |