blob: 9496ab79e7aaca1f9d85bfa85d737b4e6867185e (
plain)
- #!/bin/sh
- set -e
- PRG=$(basename "$0")
- function showhelp() {
- cat <<EOF
- Usage: $PRG POOL
- Example: $PRG sarge_with_hacks
- EOF
- }
- if [ $# -eq 0 ]; then
- showhelp
- exit 1
- fi
- for pool in $@; do
- sudo pbuilder update \
- --basetgz /var/cache/pbuilder/base-$pool.tgz \
- --buildplace /var/cache/pbuilder/build-$pool/ \
- --aptcache /var/cache/pbuilder/aptcache-$pool/
- done
|