diff options
Diffstat (limited to 'scripts/build/lb_bootstrap_cdebootstrap')
-rwxr-xr-x | scripts/build/lb_bootstrap_cdebootstrap | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build/lb_bootstrap_cdebootstrap b/scripts/build/lb_bootstrap_cdebootstrap index e8fabe3f6..931c837f0 100755 --- a/scripts/build/lb_bootstrap_cdebootstrap +++ b/scripts/build/lb_bootstrap_cdebootstrap @@ -29,6 +29,14 @@ then exit 0 fi +if [ ! -x "$(which cdebootstrap 2>/dev/null)" ] +then + echo "E: cdebootstrap - command not found"; \ + echo "I: cdebootstrap can be optained from http://ftp.debian.org/debian/pool/main/d/cdebootstrap/"; \ + echo "I: On Debian based systems, cdebootstrap can be installed with 'apt-get install debootstrap'."; \ + exit 1 +fi + # Check architecture Check_crossarchitectures |