diff options
author | Peter Palfrader <peter@palfrader.org> | 2012-03-11 14:00:00 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2012-03-11 14:00:00 +0000 |
commit | 025865c2198a7b93fd2eb0c3e3d0a905cd3128ef (patch) | |
tree | 624a0d2431379e8602bb207b4c1778c3fe559838 | |
parent | bb148654a3991699c86a411542a0bc1b181c1e46 (diff) |
Add upgrade-schroots
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@505 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | upgrade-schroots | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/upgrade-schroots b/upgrade-schroots new file mode 100755 index 0000000..c90ed85 --- /dev/null +++ b/upgrade-schroots @@ -0,0 +1,13 @@ +#!/bin/bash + +for c in `schroot -l`; do + case "$c" in + *-*-*-*) + ;; + source:*-*-sbuild) + echo "Doing $c" + schroot -c $c -u root -- sh -c 'apt-get update && apt-get dist-upgrade -y && apt-get clean' + echo + ;; + esac +done |