From 66361e4b38fe78a565d6b2bd34be9d59e777a754 Mon Sep 17 00:00:00 2001 From: Katharina Drexel Date: Mon, 12 Apr 2021 19:02:55 +0200 Subject: Prefer mmdebstrap to debootstrap in debconf. Signed-off-by: Katharina Drexel --- share/scripts/debconf | 8 ++++---- 1 file 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 -- cgit v1.2.3