summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-VM-grongo8
1 files changed, 7 insertions, 1 deletions
diff --git a/install-VM-grongo b/install-VM-grongo
index ef01edd..d74ed57 100755
--- a/install-VM-grongo
+++ b/install-VM-grongo
@@ -67,7 +67,13 @@ do_cleanup() {
echo "done."
}
-check_installed debootstrap debian-archive-keyring kpartx
+if [ -e /etc/debian_version ]; then
+ check_installed debootstrap debian-archive-keyring kpartx
+else
+ test -e `which debootstrap >/dev/null 2>&1` || echo "W: could not find debootstrap binary"
+ test -e `which kpartx >/dev/null 2>&1` || echo "W: could not find kpartx binary"
+ test -e $KEYRING || echo "W: could not find keyring in $KEYRING"
+fi
declare -a cleanup
cleanup+=(":")