mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 08:42:42 +01:00
Verify extractor checksum
This commit is contained in:
1 parent
fedfc795e7
commit
b256ae0445
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ rm -rf $TMP && mkdir -p $TMP
|
||||
RD="$TMP/rd.gz"
|
||||
curl -r 64493568-69886247 -s -k -o "$RD" https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat
|
||||
|
||||
SUM=($(md5sum $RD))
|
||||
SUM=$(md5sum $RD | cut -f 1 -d " ")
|
||||
|
||||
if [ $SUM != "14fb88cb7cabddb5af1d0269bf032845" ]; then
|
||||
echo "Invalid extractor, checksum failed." && exit 59
|
||||
|
||||
Reference in new issue
Block a user