mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
White space cleanup
This commit is contained in:
parent
921d06e025
commit
958ef84931
1 changed files with 4 additions and 5 deletions
9
quickget
9
quickget
|
@ -1347,10 +1347,10 @@ function get_void() {
|
||||||
|
|
||||||
DATE=$(wget -q -O- "${URL}/sha256sum.txt" | head -n1 | cut -d'.' -f1 | cut -d'-' -f4)
|
DATE=$(wget -q -O- "${URL}/sha256sum.txt" | head -n1 | cut -d'.' -f1 | cut -d'-' -f4)
|
||||||
case ${EDITION} in
|
case ${EDITION} in
|
||||||
glibc) ISO="void-live-x86_64-${DATE}.iso";;
|
glibc) ISO="void-live-x86_64-${DATE}.iso";;
|
||||||
musl) ISO="void-live-x86_64-musl-${DATE}.iso";;
|
musl) ISO="void-live-x86_64-musl-${DATE}.iso";;
|
||||||
xfce-glibc) ISO="void-live-x86_64-${DATE}-xfce.iso";;
|
xfce-glibc) ISO="void-live-x86_64-${DATE}-xfce.iso";;
|
||||||
xfce-musl) ISO="void-live-x86_64-musl-${DATE}-xfce.iso";;
|
xfce-musl) ISO="void-live-x86_64-musl-${DATE}-xfce.iso";;
|
||||||
esac
|
esac
|
||||||
HASH="$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)"
|
HASH="$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f4)"
|
||||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
web_get "${URL}/${ISO}" "${VM_PATH}"
|
||||||
|
@ -1698,7 +1698,6 @@ function get_windows() {
|
||||||
dbg_windows "${WINDOWS_VERSIONS}"
|
dbg_windows "${WINDOWS_VERSIONS}"
|
||||||
LATEST_WINDOWS_VERSION=$(echo "${WINDOWS_VERSIONS}" | jq -c 'map(select(.name | contains("Windows '"${RELEASE}"'")))['${INDEX}']')
|
LATEST_WINDOWS_VERSION=$(echo "${WINDOWS_VERSIONS}" | jq -c 'map(select(.name | contains("Windows '"${RELEASE}"'")))['${INDEX}']')
|
||||||
dbg_windows "${LATEST_WINDOWS_VERSION}"
|
dbg_windows "${LATEST_WINDOWS_VERSION}"
|
||||||
|
|
||||||
WINDOWS_NAME=$(echo "${LATEST_WINDOWS_VERSION}" | jq -r .name)
|
WINDOWS_NAME=$(echo "${LATEST_WINDOWS_VERSION}" | jq -r .name)
|
||||||
dbg_windows "${WINDOWS_NAME}"
|
dbg_windows "${WINDOWS_NAME}"
|
||||||
VERSION_ID=$(echo "${LATEST_WINDOWS_VERSION}" | jq -r .version_id)
|
VERSION_ID=$(echo "${LATEST_WINDOWS_VERSION}" | jq -r .version_id)
|
||||||
|
|
Loading…
Reference in a new issue