diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-04-01 05:48:46 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2008-04-01 05:48:46 +0000 |
commit | 3bfa13e332c1e43804579e8559c8b5f9c39ea4b2 (patch) | |
tree | e3d4f9d8eebcba7146e58febfb75f475b8343860 /zshrc | |
parent | fcafdb52b25b68ab889d4c60855a154048f3decf (diff) |
Autoupgrade and autoremove in porter chroots
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@329 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -359,8 +359,9 @@ upgrade-porter-chroots() { echo `hostname` $i; echo; sudo chroot $i apt-get update && - sudo chroot $i apt-get dist-upgrade && + sudo chroot $i apt-get dist-upgrade -y && sudo chroot $i apt-get clean; + sudo chroot $i apt-get autoremove; done'; done } |