Browse Source

#45 parse md5sum or jacksum files

pull/73/head
rich prohaska 12 years ago
parent
commit
d8ebdbea41
  1. 2
      scripts/setup.mysql.bash

2
scripts/setup.mysql.bash

@ -71,8 +71,10 @@ if [ ! -f $mysqltarball.md5 ] ; then
if [ $? -ne 0 ] ; then exit 1; fi
fi
# check the md5 sum
md5sum --check $mysqltarball.md5
if [ $? -ne 0 ] ; then
# support jacksum md5 output which is almost the same as md5sum
diff -b <(cat $mysqltarball.md5) <(md5sum $mysqltarball)
if [ $? -ne 0 ] ; then exit 1; fi
fi

Loading…
Cancel
Save