mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Verify extractor checksum
This commit is contained in:
parent
fedfc795e7
commit
b256ae0445
@ -27,7 +27,7 @@ rm -rf $TMP && mkdir -p $TMP
|
|||||||
RD="$TMP/rd.gz"
|
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
|
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
|
if [ $SUM != "14fb88cb7cabddb5af1d0269bf032845" ]; then
|
||||||
echo "Invalid extractor, checksum failed." && exit 59
|
echo "Invalid extractor, checksum failed." && exit 59
|
||||||
|
Loading…
x
Reference in New Issue
Block a user