|
|
@ -981,8 +981,10 @@ function get_ghostbsd() { |
|
|
|
function get_haiku() { |
|
|
|
function get_haiku() { |
|
|
|
local EDITION="${1:-}" |
|
|
|
local EDITION="${1:-}" |
|
|
|
local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" |
|
|
|
local ISO="haiku-${RELEASE}-${EDITION}-anyboot.iso" |
|
|
|
local URL="https://cdn.haiku-os.org/haiku-release/${RELEASE}" |
|
|
|
# local URL="https://cdn.haiku-os.org/haiku-release/${RELEASE}" # domain gone |
|
|
|
local HASH="" |
|
|
|
local URL="http://mirror.rit.edu/haiku/${RELEASE}" # NY, USA |
|
|
|
|
|
|
|
# local URL="https://mirrors.tnonline.net/haiku/haiku-release/${RELEASE}" # Sweden |
|
|
|
|
|
|
|
# local URL="https://mirror.aarnet.edu.au/pub/haiku/${RELEASE}" # Aus |
|
|
|
|
|
|
|
|
|
|
|
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) |
|
|
|
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4) |
|
|
|
echo "${URL}/${ISO} ${HASH}" |
|
|
|
echo "${URL}/${ISO} ${HASH}" |
|
|
|