Revision 22691,
229 bytes
checked in by ghudson, 16 years ago
(diff) |
* debathena/scripts/upgrade-schroot: When passed multiple arguments,
use each argument in turn, rather than the first argument several
times.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | # Usage: upgrade-schroot SCHROOTNAME ... |
---|
2 | |
---|
3 | # Updates the system packages in one or more schroots. |
---|
4 | |
---|
5 | #!/bin/sh |
---|
6 | for i in "$@"; do |
---|
7 | schroot -u root -c "$i" -- sh -c 'apt-get update && apt-get -y dist-upgrade && apt-get clean' |
---|
8 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.