summaryrefslogtreecommitdiffstats
path: root/debian/check-md5sum-etc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:15:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:15:36 +0000
commit7b2e846aab7d883d4a822520462b79aacedc11b9 (patch)
treed4ace23b2fbca02ebe8b393da333c2147fed0f9d /debian/check-md5sum-etc
parentAdding upstream version 10.3+deb10u13. (diff)
downloadbase-files-debian/10.3+deb10u13.tar.xz
base-files-debian/10.3+deb10u13.zip
Adding debian version 10.3+deb10u13.debian/10.3+deb10u13debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/check-md5sum-etc8
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..6c582cb
--- /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