diff options
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 2829c6e..33ffd24 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -92,6 +92,19 @@ while [ -n "$1" ]; do fi shift; shift; ;; + --aptcache) + if [ -n "$2" ]; then + if [ -d "$2" ]; then + APTCACHE=$(readlink -f "$2"); + else + echo "E: Directory $2 does not exist" >&2 + exit 1 + fi + else + APTCACHE= + fi + shift; shift; + ;; --removepackages) REMOVEPACKAGES="$2"; shift; shift; |