From 5a595e32ed35eb59c6fe929b4769059bc9e59093 Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Sat, 30 Jan 2010 11:08:03 +0100 Subject: Add support for --archive --- pbuilder-apt-config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pbuilder-apt-config') 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 [] [--mirror=] [--suite=] [--pockets=,] " + log "$self [] [--archive=] [--mirror=] [--suite=] [--pockets=,] " log "$self [--profile=] " log " where 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 -- cgit v1.2.3