From: Carl N Baldwin Date: Wed, 2 Nov 2005 18:13:30 +0000 (-0700) Subject: Some clean-up X-Git-Tag: release-0.4~27 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Beqpres_ppi_link%7D?a=commitdiff_plain;h=09dadf11241ff7bf8c653a9ea8c4a68ca758ba31;p=backups%2F.git Some clean-up --- diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index a382d50..0870b0d 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -65,7 +65,7 @@ date >> $img.stat cat $img.stat echo cat $logfile -} | mailx -s "DVD burned. File as ${img%.*}" $mailto > $logfile 2>&1 +} | mailx -s "DVD burned. File as $(basename ${img%.*})" $mailto > $logfile 2>&1 # Two lines in the stat file indicate two successful burns. Clean-up the image. if [ "$(wc -l $img.stat 2>/dev/null | awk '{print$1}')" == "2" ]; then diff --git a/scripts/pack-image.sh b/scripts/pack-image.sh index 89c9c0e..327d374 100755 --- a/scripts/pack-image.sh +++ b/scripts/pack-image.sh @@ -14,9 +14,6 @@ restorescript="$scriptsdir/restore.sh" echo "Creating directories" mkdir --mode=700 -p $datadir $imagedir $isomountdir $tmpdir -chgrp backup $imagedir -chmod g+s $imagedir -chmod g+w $imagedir echo "Creating the iso image in $isoimage" dd if=/dev/null of=$isoimage bs=1M count=0 seek=4440