Sign in
coral
/
base-files
/
5d69f9fa1480c93e9e48a686057ee823b6c5a30f
/
.
/
debian
/
check-md5sum-etc
blob: 6c582cb42984103e2f4b8f961dc1c5ce3465e3f9 [
file
] [
log
] [
blame
]
#!/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