source: trunk/debathena/scripts/upgrade-schroot @ 22782

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