summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2021-04-12 17:08:30 +0000
committerKatharina Drexel <katharina.drexel@bfh.ch>2021-04-13 07:56:54 +0000
commit6e361f453d58a735e70192f52839bd638346ab27 (patch)
treef05d41bd0ffca903e328cd85b30be9140e6a5a37
parentPrefer mmdebstrap to debootstrap in debconf. (diff)
downloadcompute-tools-6e361f453d58a735e70192f52839bd638346ab27.tar.xz
compute-tools-6e361f453d58a735e70192f52839bd638346ab27.zip
BOOTSTRAP instead of BOOTSTRAP_PROGRAM for constistency reasons.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf8
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