diff options
author | Katharina Drexel <katharina.drexel@bfh.ch> | 2021-04-12 17:13:48 +0000 |
---|---|---|
committer | Katharina Drexel <katharina.drexel@bfh.ch> | 2021-04-13 07:56:57 +0000 |
commit | f41601ab57d8858fb1b2d0629091a28d732c1864 (patch) | |
tree | 222843695589e6e932fc2e0f02416b07410ebc20 | |
parent | BOOTSTRAP instead of BOOTSTRAP_PROGRAM for constistency reasons. (diff) | |
download | compute-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>
-rwxr-xr-x | share/scripts/debconf | 2 | ||||
-rwxr-xr-x | 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 |