]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:05:15 +0000 (16:05 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:05:15 +0000 (16:05 +0000)
rescue/linux/usb/remaster/write_sqfs_to_disk_image

index 6b7791647b6b5b3c3bc8675f333217bd9946769e..4dceb43cc157134ea4049407139ae9c7847ffbe8 100755 (executable)
@@ -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