summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-10-11 07:48:21 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-10-11 07:48:21 +0200
commit797ee5a8cf5bb066143582a7fb042285f2f220e3 (patch)
treeed3fee10a2bb553ed6a9ee958abcf81c6e706514
parentae1df18207d1195533b6a37931aab4c21897641f (diff)
downloadkanotix-797ee5a8cf5bb066143582a7fb042285f2f220e3.zip
kanotix-797ee5a8cf5bb066143582a7fb042285f2f220e3.tar.gz
added dependency checks
-rwxr-xr-xisohybrid-acritox8
1 files changed, 8 insertions, 0 deletions
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"