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

Revision 22688, 229 bytes checked in by ghudson, 17 years ago (diff)
Add leading comments documenting (hopefully correctly) the scripts snapshotted from /mit/debathena/bin. * debathena/scripts/dadch, debathena/scripts/clean-schroot, debathena/scripts/da, debathena/scripts/daequivsupload, debathena/scripts/upgrade-schroot, debathena/scripts/daupload-release, debathena/scripts/sbuildhack, debathena/scripts/all-schroots: Comment.
  • 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
6for i in "$@"; do
7    schroot -u root -c "$1" -- sh -c 'apt-get update && apt-get -y dist-upgrade && apt-get clean'
8done
Note: See TracBrowser for help on using the repository browser.