From d84945a623882cb6bfac65e0fd784d900032792b Mon Sep 17 00:00:00 2001 From: Katharina Drexel Date: Mon, 12 Apr 2021 19:02:55 +0200 Subject: Prefering mmdebstrap to debootstrap in debconf script. Signed-off-by: Katharina Drexel Signed-off-by: Daniel Baumann --- share/scripts/debconf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share') 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 -- cgit v1.2.3