From c4f89cebb46bca1d99acf42ca7fc323cbb7d66d3 Mon Sep 17 00:00:00 2001 From: udeved Date: Wed, 3 Jun 2015 17:53:13 +0200 Subject: [PATCH] [mkchroot] add keep_mirrors arg --- bin/mkchroot.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mkchroot.in b/bin/mkchroot.in index aa38b64..c713ebb 100644 --- a/bin/mkchroot.in +++ b/bin/mkchroot.in @@ -16,7 +16,7 @@ version=@version@ working_dir='' build_locales=false -restore_mirrors=false +keep_mirrors=false usage() { echo "Usage: ${0##*/} [options] working-dir package-list..." @@ -33,7 +33,7 @@ usage() { orig_argv=("$@") -opts='hLRC:M:S:c:B:' +opts='hLKC:M:S:c:B:' while getopts ${opts} arg; do case "${arg}" in @@ -43,7 +43,7 @@ while getopts ${opts} arg; do c) cache_dir="$OPTARG" ;; L) build_locales=true ;; B) build_mirror="$OPTARG" ;; - R) restore_mirrors=true; mirrors_flag='-R' ;; + K) keep_mirrors=true; mirrors_flag='-R' ;; h|?) usage ;; *) error "invalid argument '$arg'"; usage ;; esac