summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2021-04-12 17:02:55 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-14 16:56:26 +0000
commitd84945a623882cb6bfac65e0fd784d900032792b (patch)
tree8cbe30ca79d9f2b181894bb8371a24c4e6a3ec27
parentIntegrating mmdebstrap in debconf script. (diff)
downloadcompute-tools-d84945a623882cb6bfac65e0fd784d900032792b.tar.xz
compute-tools-d84945a623882cb6bfac65e0fd784d900032792b.zip
Prefering mmdebstrap to debootstrap in debconf script.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index c6cc0ec..e8640fa 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -115,14 +115,14 @@ then
exit 1
fi
-if [ -x /usr/sbin/debootstrap ]
-then
- BOOTSTRAP="debootstrap"
-elif [ -x /usr/bin/mmdebstrap ]
+if [ -x /usr/bin/mmdebstrap ]
then
BOOTSTRAP="mmdebstrap"
+elif [ -x /usr/sbin/debootstrap ]
+then
+ BOOTSTRAP="debootstrap"
else
- echo "'${NAME}': /usr/sbin/debootstrap or /usr/bin/mmdebstrap - no such file." >&2
+ echo "'${NAME}': /usr/bin/mmdebstrap or /usr/sbin/debootstrap - no such file." >&2
exit 1
fi