diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 11:51:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 11:51:27 +0000 |
commit | 84fe3953a49f679a568f10953df8376182ba3f72 (patch) | |
tree | f22a1727646ca2ce61a0c839816b3c9e915e4cce /debian/check-md5sum-etc | |
parent | Adding upstream version 12.4+deb12u5. (diff) | |
download | base-files-84fe3953a49f679a568f10953df8376182ba3f72.tar.xz base-files-84fe3953a49f679a568f10953df8376182ba3f72.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 |