summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-22 01:20:09 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commitcfc182e161afe2235515139d962e2e25f1f087cf (patch)
tree4e5a08c1c9d2b19093220e9b2a74bc04c2cf6a6e
parent412ac01000c57be8630140eef8ed531b0f9f8650 (diff)
downloadlive-build-cfc182e161afe2235515139d962e2e25f1f087cf.zip
live-build-cfc182e161afe2235515139d962e2e25f1f087cf.tar.gz
Print a friendlier message if debootstrap or cdebootstrap cannot be found.
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 027d137..591eb07 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -96,7 +96,8 @@ Set_defaults ()
then
LH_BOOTSTRAP="cdebootstrap"
else
- echo "E: Can't process file /usr/sbin/debootstrap or /usr/bin/cdebootstrap (FIXME)"
+ echo "E: Cannot find /usr/sbin/debootstrap or /usr/bin/cdebootstrap. Please install"
+ echo "E: debootstrap or cdebootstrap, or specify an alternative bootstrapping utility."
exit 1
fi
fi