mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Respect edition param when quickgetting freebsd (#418)
This commit is contained in:
parent
3940f7b452
commit
5bc27ee469
1 changed files with 2 additions and 1 deletions
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 a new issue