Refactor get_solus()
This commit is contained in:
parent
ddb1f30d4f
commit
bed546556a
4
quickget
4
quickget
@ -1157,9 +1157,9 @@ function get_solus() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
ISO="Solus-${RELNUM}-${RELTYPE}.iso"
|
ISO="Solus-${RELNUM}-${RELTYPE}.iso"
|
||||||
URL="https://mirrors.rit.edu/solus/images/${RELNUM}/${ISO}"
|
URL="https://mirrors.rit.edu/solus/images/${RELNUM}"
|
||||||
HASH=$(wget -q -O- "${URL}.sha256sum" | cut -d' ' -f1)
|
HASH=$(wget -q -O- "${URL}.sha256sum" | cut -d' ' -f1)
|
||||||
web_get "${URL}" "${VM_PATH}"
|
web_get "${URL}/${ISO}" "${VM_PATH}"
|
||||||
check_hash "${ISO}" "${HASH}"
|
check_hash "${ISO}" "${HASH}"
|
||||||
make_vm_config "${ISO}"
|
make_vm_config "${ISO}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user