fix(quickget): use mirrors.kernel.org for Gentoo, Linux Mint and LMDE
- Replace mirror.bytemark.co.uk with mirrors.kernel.org in get_gentoo, get_linuxmint and get_lmde - Prefer kernel.org mirrors for improved availability and fresher releases - No change to ISO selection or hash verification logic; behaviour unchanged Signed-off-by: Martin Wimpress <martin@wimpress.org>
This commit is contained in:
parent
7d5de87c2f
commit
9d76158196
6
quickget
6
quickget
|
|
@ -1945,7 +1945,7 @@ function get_garuda() {
|
||||||
function get_gentoo() {
|
function get_gentoo() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO=""
|
local ISO=""
|
||||||
local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds"
|
local URL="https://mirrors.kernel.org/gentoo/releases/amd64/autobuilds"
|
||||||
case ${EDITION} in
|
case ${EDITION} in
|
||||||
minimal) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1);;
|
minimal) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1);;
|
||||||
livegui) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1);;
|
livegui) ISO=$(web_pipe "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1);;
|
||||||
|
|
@ -2040,7 +2040,7 @@ function get_linuxlite() {
|
||||||
function get_linuxmint() {
|
function get_linuxmint() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso"
|
local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso"
|
||||||
local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}"
|
local URL="https://mirrors.kernel.org/linuxmint/stable/${RELEASE}"
|
||||||
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
@ -2048,7 +2048,7 @@ function get_linuxmint() {
|
||||||
function get_lmde() {
|
function get_lmde() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
|
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
|
||||||
local URL="https://mirror.bytemark.co.uk/linuxmint/debian"
|
local URL="https://mirrors.kernel.org/linuxmint/debian"
|
||||||
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut -d' ' -f1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue