diff --git a/quickget b/quickget index 24fdc34..f76b94e 100755 --- a/quickget +++ b/quickget @@ -984,13 +984,12 @@ function get_linuxmint() { validate_release "releases_linuxmint" FLAVOR=$(echo "${OS}" | cut -d'-' -f2) + URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}" 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) - URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}/${ISO}" - web_get "${URL}" "${VM_PATH}" + HASH=$(wget -q -O- "${URL}/${RELEASE}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1) + web_get "${URL}/${ISO}" "${VM_PATH}" check_hash "${ISO}" "${HASH}" make_vm_config "${ISO}" - } function get_manjaro() {