summaryrefslogtreecommitdiff
path: root/src/validate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/validate.sh')
-rw-r--r--src/validate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validate.sh b/src/validate.sh
index 0c9dd2d..b87e7ca 100644
--- a/src/validate.sh
+++ b/src/validate.sh
@@ -4,7 +4,7 @@ validate_checksum () {
local file=$1
local checksum=$2
[ ! -f $file ] && return 1
- [ "$(md5sum $file | awk '{ print $1; }')" = "$checksum" ]
+ [ "$(sha512sum $file | awk '{ print $1; }')" = "$checksum" ]
}
validate_sig () {