summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
Diffstat (limited to 'share/scripts/debconf')
-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