mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_zorin()
This commit is contained in:
parent
71c7542dcb
commit
ecb0afbcce
1 changed files with 2 additions and 2 deletions
4
quickget
4
quickget
|
@ -1115,8 +1115,8 @@ function get_zorin() {
|
||||||
|
|
||||||
validate_release "releases_zorin"
|
validate_release "releases_zorin"
|
||||||
# their redirector returns an href so we need to get that and parse out the iso
|
# their redirector returns an href so we need to get that and parse out the iso
|
||||||
URL=$(curl -s "https://zrn.co/${RELEASE}" |cut -d\" -f2)
|
URL=$(curl -s "https://zrn.co/${RELEASE}" | cut -d'"' -f2)
|
||||||
ISO=$(echo "${URL}"| awk -F\/ ' {print $NF}')
|
ISO=$(echo "${URL}" | awk -F\/ ' {print $NF}')
|
||||||
web_get "${URL}" "${VM_PATH}"
|
web_get "${URL}" "${VM_PATH}"
|
||||||
make_vm_config "${ISO}"
|
make_vm_config "${ISO}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue