Add Debian netinst to the editions. Closes #381

pull/388/head
Martin Wimpress 3 years ago
parent 19d62c45f2
commit a2db7348a0
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 8
      quickget

@ -242,7 +242,7 @@ function releases_debian() {
} }
function editions_debian() { function editions_debian() {
echo standard cinnamon gnome kde lxde lxqt mate xfce echo standard cinnamon gnome kde lxde lxqt mate xfce netinst
} }
function releases_devuan() { function releases_devuan() {
@ -757,6 +757,12 @@ function get_debian() {
11.2.0) URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";; 11.2.0) URL="https://cdimage.debian.org/debian-cd/${RELEASE}-live/amd64/iso-hybrid";;
*) URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid/";; *) URL="https://cdimage.debian.org/cdimage/archive/${RELEASE}-live/amd64/iso-hybrid/";;
esac esac
if [ "${EDITION}" == "netinst" ]; then
URL="$(echo "${URL}" | sed 's/-live//' | sed 's/hybrid/cd/')"
ISO="$(echo "${ISO}" | sed 's/-live//')"
fi
HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1) HASH=$(wget -q -O- "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }

Loading…
Cancel
Save