From 5b2e55bcb1d9c762ead7539af69fe41ae0e1a76e Mon Sep 17 00:00:00 2001 From: Carl Baldwin Date: Thu, 27 Oct 2005 22:07:53 -0600 Subject: [PATCH] More stuff --- scripts/burn-imgs.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.34.1