summaryrefslogtreecommitdiffstats
path: root/share/scripts
diff options
context:
space:
mode:
authorKatharina Drexel <katharina.drexel@bfh.ch>2021-04-12 17:13:48 +0000
committerKatharina Drexel <katharina.drexel@bfh.ch>2021-04-13 07:56:57 +0000
commitf41601ab57d8858fb1b2d0629091a28d732c1864 (patch)
tree222843695589e6e932fc2e0f02416b07410ebc20 /share/scripts
parentBOOTSTRAP instead of BOOTSTRAP_PROGRAM for constistency reasons. (diff)
downloadcompute-tools-f41601ab57d8858fb1b2d0629091a28d732c1864.tar.xz
compute-tools-f41601ab57d8858fb1b2d0629091a28d732c1864.zip
More speaking error messages if no bootstrap program installed.
Signed-off-by: Katharina Drexel <katharina.drexel@bfh.ch>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf2
-rwxr-xr-xshare/scripts/debootstrap2
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