]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change checksum all files
authorBastian Dehn <hhaalo@arcor.de>
Mon, 28 Sep 2026 07:18:18 +0000 (09:18 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 28 Sep 2026 07:18:18 +0000 (09:18 +0200)
src/albentohandy

index 51abc80c9516aab6905e2c85e753a462b8d14281..b3912b1b539b38cbfb756dc674564758ad67e7c9 100755 (executable)
@@ -123,9 +123,9 @@ calc_checksum()
 {
        cd "$OUTPUT_PATH" || return $?
        find . -type f \
-               -regex '.*\(\.ogg\|\.mp3\|\.opus\|\.flac\)' \
                -print0 \
                | sort --zero-terminated \
+               | sed --null-data '/checksum/d' \
                | xargs --null sha256sum > checksum.sha256
 }