summaryrefslogtreecommitdiff
path: root/upgrade-schroots
blob: c90ed853a683cbc9cac63ef73a4d6df513f5c39b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

for c in `schroot -l`; do
	case "$c" in
		*-*-*-*)
			;;
		source:*-*-sbuild)
			echo "Doing $c"
			schroot -c $c -u root -- sh -c 'apt-get update && apt-get dist-upgrade -y && apt-get clean'
			echo
			;;
	esac
done