Cleanup get_zorin()
This commit is contained in:
parent
344c7f93a5
commit
a4080559d6
1
quickget
1
quickget
@ -1108,7 +1108,6 @@ function get_zorin() {
|
|||||||
validate_release "releases_zorin"
|
validate_release "releases_zorin"
|
||||||
# Parse out the iso URL from the redirector
|
# Parse out the iso URL from the redirector
|
||||||
URL=$(wget -q -S -O- --max-redirect=0 "https://zrn.co/${RELEASE}" 2>&1 | grep Location | cut -d' ' -f4)
|
URL=$(wget -q -S -O- --max-redirect=0 "https://zrn.co/${RELEASE}" 2>&1 | grep Location | cut -d' ' -f4)
|
||||||
#ISO=$(echo "${URL}" | awk -F\/ ' {print $NF}')
|
|
||||||
ISO="${URL##*/}"
|
ISO="${URL##*/}"
|
||||||
web_get "${URL}" "${VM_PATH}"
|
web_get "${URL}" "${VM_PATH}"
|
||||||
make_vm_config "${ISO}"
|
make_vm_config "${ISO}"
|
||||||
|
Loading…
Reference in New Issue
Block a user