mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_linuxmint()
This commit is contained in:
parent
68fe9348ba
commit
b9eb58e95c
1 changed files with 3 additions and 4 deletions
7
quickget
7
quickget
|
@ -984,13 +984,12 @@ function get_linuxmint() {
|
||||||
|
|
||||||
validate_release "releases_linuxmint"
|
validate_release "releases_linuxmint"
|
||||||
FLAVOR=$(echo "${OS}" | cut -d'-' -f2)
|
FLAVOR=$(echo "${OS}" | cut -d'-' -f2)
|
||||||
|
URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}"
|
||||||
ISO="linuxmint-${RELEASE}-${FLAVOR}-64bit.iso"
|
ISO="linuxmint-${RELEASE}-${FLAVOR}-64bit.iso"
|
||||||
HASH=$(wget -q -O- "https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
HASH=$(wget -q -O- "${URL}/${RELEASE}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
||||||
URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}/${ISO}"
|
web_get "${URL}/${ISO}" "${VM_PATH}"
|
||||||
web_get "${URL}" "${VM_PATH}"
|
|
||||||
check_hash "${ISO}" "${HASH}"
|
check_hash "${ISO}" "${HASH}"
|
||||||
make_vm_config "${ISO}"
|
make_vm_config "${ISO}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_manjaro() {
|
function get_manjaro() {
|
||||||
|
|
Loading…
Reference in a new issue