summaryrefslogtreecommitdiffstats
path: root/debian/check-md5sum-etc
diff options
context:
space:
mode:
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