diff options
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-x | pbuilder-apt-config | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config index af28c75..affed8a 100755 --- a/pbuilder-apt-config +++ b/pbuilder-apt-config @@ -14,7 +14,7 @@ log() { } usage() { - log "$self [<options>] [--mirror=<mirror>] [--suite=<suite>] [--pockets=<pocket1>,<pocket2>] <action>" + log "$self [<options>] [--archive=<archive>] [--mirror=<mirror>] [--suite=<suite>] [--pockets=<pocket1>,<pocket2>] <action>" log "$self [--profile=<profile>] <action>" log " where <action> is one of apt-sources, debootstrap-mirror, or debootstrap-suite" log @@ -152,13 +152,14 @@ set_debootstrap_suite() { esac } -getopt_output="`getopt -o "" -l help,with-sources::,arch:,components:,mirror:,suite:,pockets:,profile: -n "$self" -s sh -- "$@"`" +getopt_output="`getopt -o "" -l help,with-sources::,arch:,components:,archive:,mirror:,suite:,pockets:,profile: -n "$self" -s sh -- "$@"`" eval set -- "$getopt_output" with_sources="disabled" arch="`dpkg --print-architecture`" components="main" +archive="" mirror="" suite="" pockets="" @@ -193,6 +194,10 @@ while :; do components="$2" shift 2 ;; + --archive) + archive="$2" + shift 2 + ;; --mirror) mirror="$2" shift 2 |