From: Kern Sibbald Date: Sat, 3 Jan 2009 16:05:15 +0000 (+0000) Subject: Update X-Git-Tag: Release-5.0.3~828 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1db310216abcf4c0fbccfea9f3fbc1eceecb3a53;p=bacula%2Frescue Update --- diff --git a/rescue/linux/usb/remaster/write_sqfs_to_disk_image b/rescue/linux/usb/remaster/write_sqfs_to_disk_image index 6b77916..4dceb43 100755 --- a/rescue/linux/usb/remaster/write_sqfs_to_disk_image +++ b/rescue/linux/usb/remaster/write_sqfs_to_disk_image @@ -11,6 +11,11 @@ if [ ! -d ${DISK_IMAGE}/casper ] ; then exit 1 fi +if [ ! f filesystem.squashfs ] ; then + echo "Cannot find filesystem.squashfs ..." + exit 1 +fi + echo "Removing old squashfs" rm -f ${DISK_IMAGE}/casper/filesystem.squashfs ${DISK_IMAGE}/casper/filesystem.manifest rm -f ${DISK_IMAGE}/casper/filesystem.manifest-desktop