From f41601ab57d8858fb1b2d0629091a28d732c1864 Mon Sep 17 00:00:00 2001 From: Katharina Drexel Date: Mon, 12 Apr 2021 19:13:48 +0200 Subject: More speaking error messages if no bootstrap program installed. Signed-off-by: Katharina Drexel --- share/scripts/debconf | 2 +- share/scripts/debootstrap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/scripts/debconf b/share/scripts/debconf index 9768408..451299a 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -122,7 +122,7 @@ elif [ -x /usr/sbin/debootstrap ] then BOOTSTRAP="debootstrap" else - echo "Install mmdebstrap or debootstrap before continuing." >&2 + echo "'${NAME}': Can't bootstrap: neither mmdebstrap nor debootstrap installed." >&2 exit 1 fi diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap index f0db7e8..4d943d2 100755 --- a/share/scripts/debootstrap +++ b/share/scripts/debootstrap @@ -142,7 +142,7 @@ esac if [ ! -x "${BOOTSTRAP}" ] then - echo "'${NAME}': ${BOOTSTRAP} - no such file." >&2 + echo "'${NAME}': Can't bootstrap: neither mmdebstrap nor debootstrap installed." >&2 exit 1 fi -- cgit v1.2.3