mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-09 01:47:32 +08:00
fix: Use custom URL for installer
This commit is contained in:
parent
abd30b9d91
commit
076ac14e79
@ -122,6 +122,7 @@ if [ ! -s "$RDC" ]; then
|
|||||||
POS="65627648-71021835"
|
POS="65627648-71021835"
|
||||||
VERIFY="b4215a4b213ff5154db0488f92c87864"
|
VERIFY="b4215a4b213ff5154db0488f92c87864"
|
||||||
LOC="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
|
LOC="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
|
||||||
|
[[ "${URL,,}" == *"_42218.pat" ]] && LOC="$URL"
|
||||||
|
|
||||||
rm -f "$RD"
|
rm -f "$RD"
|
||||||
rm -f "$RDC"
|
rm -f "$RDC"
|
||||||
@ -212,7 +213,7 @@ PAT="/$BASE.pat"
|
|||||||
rm -f "$PAT"
|
rm -f "$PAT"
|
||||||
|
|
||||||
SIZE=0
|
SIZE=0
|
||||||
[[ "$URL" == *"DSM_VirtualDSM_69057.pat" ]] && SIZE=363837333
|
[[ "$URL" == *"_69057.pat" ]] && SIZE=363837333
|
||||||
|
|
||||||
if [[ "$URL" == "file://"* ]]; then
|
if [[ "$URL" == "file://"* ]]; then
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user