]> git.wh0rd.org Git - home.git/commitdiff
backup-dvd: include md5
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 10:25:05 +0000 (05:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 10:25:05 +0000 (05:25 -0500)
.bin/backup-dvd

index 6dace1797fd13fb62a551c6a209a2858bf1f7f59..55b622e608291a946a43971b110fbc5504b13662 100755 (executable)
@@ -358,6 +358,8 @@ mkiso_dvd() {
        ) > "${sh}"
        chmod a+x "${sh}"
        "${sh}" || exit
+       sync
+       md5sum "${out}/${Volume}.iso" > "${out}/${Volume}.md5"
 
        du -h "${out}/${Volume}.iso"
        sudo chattr +i "${out}/${Volume}.iso"