Respect edition param when quickgetting freebsd (#418)

pull/403/head
Ranjan Purbey 3 years ago committed by GitHub
parent 3940f7b452
commit 5bc27ee469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      quickget

@ -889,8 +889,9 @@ function get_fedora() {
} }
function get_freebsd() { function get_freebsd() {
local EDITION="${1}"
local HASH="" local HASH=""
local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-dvd1.iso" local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-${EDITION}.iso"
local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}" local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}"
HASH=$(wget -q -O- "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4) HASH=$(wget -q -O- "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4)

Loading…
Cancel
Save