From 797ee5a8cf5bb066143582a7fb042285f2f220e3 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Thu, 11 Oct 2012 07:48:21 +0200 Subject: added dependency checks --- isohybrid-acritox | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/isohybrid-acritox b/isohybrid-acritox index 68d8206..42abe6c 100755 --- a/isohybrid-acritox +++ b/isohybrid-acritox @@ -119,6 +119,14 @@ if [ ! -x /usr/bin/mmd ]; then echo "Error: mtools are needed! Run: apt-get install mtools" >&2 exit 1 fi +if [ ! -x /sbin/mkfs.msdos ]; then + echo "Error: mkfs.msdos is needed! Run: apt-get install dosfstools" >&2 + exit 1 +fi +if [ ! -x /sbin/mkfs.hfsplus ]; then + echo "Error: mkfs.hfsplus is needed! Run: apt-get install hfsprogs" >&2 + exit 1 +fi rm -f "$fat_filename" -- cgit v1.0