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 *
RevLine 
[22782]1#!/bin/sh
2
[22688]3# Usage: upgrade-schroot SCHROOTNAME ...
4
5# Updates the system packages in one or more schroots.
6
[22687]7for i in "$@"; do
[22691]8    schroot -u root -c "$i" -- sh -c 'apt-get update && apt-get -y dist-upgrade && apt-get clean'
[22687]9done
Note: See TracBrowser for help on using the repository browser.