From 6e361f453d58a735e70192f52839bd638346ab27 Mon Sep 17 00:00:00 2001 From: Katharina Drexel Date: Mon, 12 Apr 2021 19:08:30 +0200 Subject: BOOTSTRAP instead of BOOTSTRAP_PROGRAM for constistency reasons. Signed-off-by: Katharina Drexel --- share/scripts/debconf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share') diff --git a/share/scripts/debconf b/share/scripts/debconf index 09690a3..9768408 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -117,10 +117,10 @@ fi if [ -x /usr/bin/mmdebstrap ] then - BOOTSTRAP_PROGRAM="mmdebstrap" + BOOTSTRAP="mmdebstrap" elif [ -x /usr/sbin/debootstrap ] then - BOOTSTRAP_PROGRAM="debootstrap" + BOOTSTRAP="debootstrap" else echo "Install mmdebstrap or debootstrap before continuing." >&2 exit 1 @@ -396,7 +396,7 @@ Debootstrap () mkdir -p "$(dirname ${DIRECTORY})" - case "${BOOTSTRAP_PROGRAM}" in + case "${BOOTSTRAP}" in debootstrap) debootstrap --verbose --arch=${ARCHITECTURE} --components=${PARENT_ARCHIVE_AREAS} \ --exclude=${EXCLUDE} --include=${INCLUDE} ${PARENT_DISTRIBUTION} "${DIRECTORY}" ${PARENT_MIRROR} @@ -408,7 +408,7 @@ Debootstrap () ;; *) - echo "${BOOTSTRAP_PROGRAM} not supported." >&2 + echo "${BOOTSTRAP} not supported." >&2 exit 1 ;; esac -- cgit v1.2.3