Check for existence of debootstrap binary after command line processing
authorMichael Prokop <mika@grml.org>
Fri, 13 Dec 2019 13:10:19 +0000 (14:10 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 13 Dec 2019 13:10:19 +0000 (14:10 +0100)
commit5d3fdc8697e284776f0bb331ef73ac8ac8a34769
treef21f5361a3d03354d0b69049e2bb637e805bb7c3
parent22cdc9fc66a89cb73b7d279849b19941bdd1ae24
Check for existence of debootstrap binary after command line processing

When invoking grml-debootstrap as user without /usr/sbin inside $PATH,
then the debootstrap binary will not be found and executing
`grml-debootstrap --version` fails with
`debootstrap not installed`.

Closes: https://github.com/grml/grml-debootstrap/issues/147
grml-debootstrap