diff options
| author | 2023-06-11 17:00:00 +0200 | |
|---|---|---|
| committer | 2024-04-17 11:38:16 +0200 | |
| commit | 4e62ac47b01fd02874047bcd799059e71dadc3ca (patch) | |
| tree | 79a273bf5fae46b5539e14d812d766a64f330c06 /debian/check-md5sum-etc | |
| download | base-files-4e62ac47b01fd02874047bcd799059e71dadc3ca.tar.gz base-files-4e62ac47b01fd02874047bcd799059e71dadc3ca.zip | |
Version 13
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 |
