Respect edition param when quickgetting freebsd (#418)
This commit is contained in:
parent
3940f7b452
commit
5bc27ee469
3
quickget
3
quickget
@ -889,8 +889,9 @@ function get_fedora() {
|
||||
}
|
||||
|
||||
function get_freebsd() {
|
||||
local EDITION="${1}"
|
||||
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}"
|
||||
|
||||
HASH=$(wget -q -O- "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4)
|
||||
|
Loading…
Reference in New Issue
Block a user