Merge remote-tracking branch 'FriDay/leap-fix' into merging-updated-distros

pull/322/head
Phil 3 years ago
commit 86a614cdea
  1. 6
      quickget

@ -1155,10 +1155,14 @@ function get_opensuse() {
ISO="openSUSE-MicroOS-DVD-x86_64-Current.iso"
URL="https://download.opensuse.org/tumbleweed/iso/${ISO}"
HASH=$(wget -q -O- "${URL}.sha256" | cut -d' ' -f1)
else
elif [ "$RELEASE" == 15.0 ] || [ "$RELEASE" == 15.1 ]; then
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso/${ISO}"
HASH=$(wget -q -O- "${URL}.sha256" | cut -d' ' -f1)
else
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso/${ISO}"
HASH=$(wget -q -O- "${URL}.sha256" | cut -d' ' -f1)
fi
web_get "${URL}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"

Loading…
Cancel
Save