changed haiku mirror as cdn no longer resolves (#460)

NY set as it seemed good enough.  Other working options left in comments in case
pull/515/head
Phil Clifford 2 years ago committed by GitHub
parent a5b792de21
commit 35b90f77e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      quickget

@ -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}"

Loading…
Cancel
Save