2 # Update all cowbuilder base images in the directory
3 # specified in the $BASEPATH variable
5 BASEPATH=/home/julien/debian/pbuilder/
7 if [ "$1" = "clean" ]; then
8 OPT="--autocleanaptcache"
11 for i in $(find $BASEPATH -maxdepth 1 -type d -name \*.cow); do
12 echo "====== Updating $i ====="
13 sudo cowbuilder --update --no-cowdancer --basepath $i $OPT