diff --git a/quickget b/quickget index 6dcf6fc..998df54 100755 --- a/quickget +++ b/quickget @@ -857,20 +857,11 @@ function get_haiku() { function get_kali() { local HASH="" local ISO="" - local URL="" - local SUBDIR="" + local URL="https://cdimage.kali.org/${RELEASE}" - case ${RELEASE} in - latest) SUBDIR="current";; - *) SUBDIR="kali-weekly";; - esac - - URL="https://cdimage.kali.org/${SUBDIR}" ISO=$(wget -q -O- "${URL}/?C=M;O=D" | grep -o ">kali-linux-.*-installer-amd64.iso" | head -n 1 | cut -c 2-) HASH=$(wget -q -O- "${URL}/SHA256SUMS" | grep -v torrent | grep "${ISO}" | cut -d' ' -f1) - web_get "${URL}/${ISO}" "${VM_PATH}" - check_hash "${ISO}" "${HASH}" - make_vm_config "${ISO}" + echo "${URL}/${ISO} ${HASH}" } function get_kdeneon() {