diff --git a/apt-cyg b/apt-cyg index a779fe8..69a74e0 100644 --- a/apt-cyg +++ b/apt-cyg @@ -424,12 +424,12 @@ case "$command" in cd "release/$pkg" wget -nc $mirror/$install - # check the md5 + # check the SHA512 sum digest=`cat "desc" | awk '/^install: / { print $4; exit }'` - digactual=`md5sum $file | awk '{print $1}'` + digactual=`sha512sum $file | awk '{print $1}'` if ! test $digest = $digactual then - echo MD5 sum did not match, exiting + echo SHA512 sum did not match, exiting exit 1 fi