From: Carl Baldwin Date: Fri, 28 Oct 2005 04:07:53 +0000 (-0600) Subject: More stuff X-Git-Tag: release-0.4~46 X-Git-Url: http://git.pippins.net/embedvideo/.git/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/%7Blink_activity%7D?a=commitdiff_plain;h=5b2e55bcb1d9c762ead7539af69fe41ae0e1a76e;p=backups%2F.git More stuff --- diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index c128752..a180c4d 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -23,11 +23,17 @@ if [ -n "$img" ]; then exit 1 fi + { + echo "Image md5sum:" + cat $img.md5sum + echo + echo "md5sum of burned disks:" + cat $img.stat + } | mailx -s "DVD burned. File it as ${img%.*}" $mailto + if [ "$(wc -l $img.stat 2>/dev/null)" == "2" ]; then echo "Burned the image twice. Removing it!" rm -f $img{,.md5sum,.stat} rmdir $img.mnt fi - - echo $img | mailx -s "DVD burned. File it as ${img%.*}" $mailto fi