Print a friendlier message if debootstrap or cdebootstrap cannot be found.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-22 01:20:09 +01:00
parent 627de6d41e
commit 744c2f6bab
1 changed files with 2 additions and 1 deletions
functions

View File

@ -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