diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 08:23:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 08:23:42 +0000 |
commit | 0b795e2b8ba22e8e47ecaad5fea3dadaff506ae1 (patch) | |
tree | f22a1727646ca2ce61a0c839816b3c9e915e4cce /debian/check-md5sum-etc | |
parent | Adding upstream version 12.4+deb12u5. (diff) | |
download | base-files-0b795e2b8ba22e8e47ecaad5fea3dadaff506ae1.tar.xz base-files-0b795e2b8ba22e8e47ecaad5fea3dadaff506ae1.zip |
Adding debian version 12.4+deb12u5.debian/12.4+deb12u5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/check-md5sum-etc')
-rw-r--r-- | debian/check-md5sum-etc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/check-md5sum-etc b/debian/check-md5sum-etc new file mode 100644 index 0000000..bd9380b --- /dev/null +++ b/debian/check-md5sum-etc @@ -0,0 +1,8 @@ +#!/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 |