source:
trunk/debathena/scripts/upgrade-schroot
@
22782
Revision 22782, 230 bytes checked in by ghudson, 17 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | # Usage: upgrade-schroot SCHROOTNAME ... |
4 | |
5 | # Updates the system packages in one or more schroots. |
6 | |
7 | for i in "$@"; do |
8 | schroot -u root -c "$i" -- sh -c 'apt-get update && apt-get -y dist-upgrade && apt-get clean' |
9 | done |
Note: See TracBrowser
for help on using the repository browser.