summaryrefslogtreecommitdiff
path: root/debian/check-etc-profile-md5sum
blob: 91ac543f29467d9ded6aaadfc8391de76b26db1c (plain)
1
2
3
4
5
6
7
#!/bin/sh
md5=`md5sum share/profile | cut -f 1 -d " "`
if ! grep -q "$md5" share/profile.md5sums; then
  echo Error: share/profile.md5sums is incomplete.
  echo Need to add "$md5" with current version.
  exit 1
fi