1
0
Fork 0
base-files/debian/check-md5sum-etc
Daniel Baumann 3eedd11f60
Adding debian version 13.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-20 19:47:37 +02:00

8 lines
223 B
Bash

#!/bin/sh
file=$1
md5=$(md5sum share/${file} | cut -f 1 -d " ")
if ! grep -q "$md5" share/${file}.md5sums; then
echo Error: share/${file}.md5sums is incomplete.
echo Need to add "$md5" with current version.
exit 1
fi