diff options
-rwxr-xr-x | share/scripts/debconf | 8 |
1 files changed, 4 insertions, 4 deletions
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 |