I'm still doesn't see any fixes for this problem.
if [ "`file --brief --mime \"$ISO_IMAGE\" | grep \"application/x-iso9660\" | wc -l`" = "0" ] ; then dialog_msgbox "Not an ISO image" "File $ISO_IMAGE does not seem to be a valid ISO9660 image" continue fi
But the Iso's on my system appears as:
file --brief --mime ubuntu-9.10-desktop-i386.iso application/octet-stream; charset=binary
Checksum of the iso is correct! But also my old hardy iso's are shown as "application/octet-stream; charset=binary"! Maybe it's an bug in "file"!?
I'm still doesn't see any fixes for this problem.
if [ "`file --brief --mime \"$ISO_IMAGE\" | grep \"application/ x-iso9660\ " | wc -l`" = "0" ] ; then
dialog_msgbox "Not an ISO image" "File $ISO_IMAGE does not seem to be a valid ISO9660 image"
continue
fi
But the Iso's on my system appears as:
file --brief --mime ubuntu- 9.10-desktop- i386.iso octet-stream; charset=binary
application/
Checksum of the iso is correct! But also my old hardy iso's are shown as "application/ octet-stream; charset=binary"! Maybe it's an bug in "file"!?