summaryrefslogtreecommitdiffstats
path: root/debian/check-md5sum-etc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 10:10:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 10:10:36 +0000
commit1542ad595ce7dbcf0e845c1a8e151233beaf9f85 (patch)
tree79a273bf5fae46b5539e14d812d766a64f330c06 /debian/check-md5sum-etc
parentAdding upstream version 13. (diff)
downloadbase-files-1542ad595ce7dbcf0e845c1a8e151233beaf9f85.tar.xz
base-files-1542ad595ce7dbcf0e845c1a8e151233beaf9f85.zip
Adding debian version 13.debian/13
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/check-md5sum-etc')
-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..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