diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-10-11 07:48:21 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-10-11 07:48:21 +0200 |
commit | 797ee5a8cf5bb066143582a7fb042285f2f220e3 (patch) | |
tree | ed3fee10a2bb553ed6a9ee958abcf81c6e706514 /isohybrid-acritox | |
parent | ae1df18207d1195533b6a37931aab4c21897641f (diff) | |
download | kanotix-797ee5a8cf5bb066143582a7fb042285f2f220e3.zip kanotix-797ee5a8cf5bb066143582a7fb042285f2f220e3.tar.gz |
added dependency checks
Diffstat (limited to 'isohybrid-acritox')
-rwxr-xr-x | isohybrid-acritox | 8 |
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" |