summaryrefslogtreecommitdiffstats
path: root/share/scripts
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2021-04-12 17:02:55 +0000
committerKatharina Drexel <katharina.drexel@bfh.ch>2021-04-13 07:55:21 +0000
commit66361e4b38fe78a565d6b2bd34be9d59e777a754 (patch)
treeb8243166e7412742d3692bec03e4cf0e607e7d2b /share/scripts
parentIntegrating mmdebstrap in debconf script. (diff)
downloadcompute-tools-66361e4b38fe78a565d6b2bd34be9d59e777a754.tar.xz
compute-tools-66361e4b38fe78a565d6b2bd34be9d59e777a754.zip
Prefer mmdebstrap to debootstrap in debconf.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
Diffstat (limited to 'share/scripts')
-rwxr-xr-xshare/scripts/debconf8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index a7293a2..09690a3 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -115,12 +115,12 @@ then
exit 1
fi
-if [ -x /usr/sbin/debootstrap ]
-then
- BOOTSTRAP_PROGRAM="debootstrap"
-elif [ -x /usr/bin/mmdebstrap ]
+if [ -x /usr/bin/mmdebstrap ]
then
BOOTSTRAP_PROGRAM="mmdebstrap"
+elif [ -x /usr/sbin/debootstrap ]
+then
+ BOOTSTRAP_PROGRAM="debootstrap"
else
echo "Install mmdebstrap or debootstrap before continuing." >&2
exit 1