mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Curl
This commit is contained in:
parent
ad13964d72
commit
4e77b84d1c
@ -29,9 +29,8 @@ rm -rf "$TMP" && mkdir -p "$TMP"
|
|||||||
|
|
||||||
LOC="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
|
LOC="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
|
||||||
|
|
||||||
if ! curl -r 64493568-69886247 -sfk -o "$RD" "$LOC"; then
|
{ curl -r 64493568-69886247 -sfk -o "$RD" "$LOC"; rc=$?; } || :
|
||||||
echo "Failed to download extractor, code: $?" && exit 60
|
(( rc != 0 )) && echo "Failed to download extractor, reason: $rc" && exit 60
|
||||||
fi
|
|
||||||
|
|
||||||
SUM=$(md5sum "$RD" | cut -f 1 -d " ")
|
SUM=$(md5sum "$RD" | cut -f 1 -d " ")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user