Add a sanity check to try and ensure that we have the right tools installed

pull/84/head
Hamish Coleman 6 years ago
parent a2ca5f6af5
commit 24d4072bd2

@ -30,6 +30,11 @@ if [ ! -e "$ISO" ]; then
fi
shift
if ! type mdir 2>/dev/null; then
echo Fatal: It looks like you have not installed the mtools package
exit 1
fi
# If we just want to look at the contents, do that
if [ "$DIR" = "ls" ]; then
mdir -i "$ISO"@@"$FAT_OFFSET" -/ -b

Loading…
Cancel
Save