From 7c4de2f20d2ed284f28578f081dd66e45a0e547a Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 18 Mar 2020 16:56:57 +0000 Subject: [PATCH] archives: clarify var Gbp-Dch: Ignore --- scripts/build/chroot_archives | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index d43c56706..4bec09384 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -19,7 +19,8 @@ DESCRIPTION="Manage /etc/apt/sources.list" USAGE="${PROGRAM} {source|binary|chroot} {install|remove} [--force]" _PASS="${1}" -shift +_ACTION="${2}" +shift 2 if ! In_list "${_PASS}" "binary" "chroot" "source"; then Usage @@ -31,7 +32,7 @@ Init_config_data "${@}" # Requiring stage file Require_stagefiles config bootstrap -case "${1}" in +case "${_ACTION}" in install) Echo_message "Configuring file /etc/apt/sources.list"