summaryrefslogtreecommitdiff
path: root/localcowbuilder-update
blob: f2e07307d520f4db1d7ab70cb166b779c2dffb21 (plain)
  1. #!/bin/sh
  2. if [ $# -eq 0 ]; then
  3. echo "Usage: $(basename $0) POOL"
  4. echo ""
  5. echo "Example: $(basename $0) sarge_with_hacks"
  6. exit 1
  7. fi
  8. for pool in $@; do
  9. sudo cowbuilder update \
  10. --basepath /var/cache/pbuilder/cow-$pool \
  11. --aptcache /var/cache/pbuilder/aptcache-$pool/
  12. done