garuda: fix (#759)

* garuda: update mirror and editions

* disc_size 32GB
This commit is contained in:
zenobit 2023-10-16 12:45:25 +02:00 committed by GitHub
parent d5798eeb01
commit 787253b2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,12 +400,11 @@ function releases_freedos() {
}
function releases_garuda() {
echo latest
echo latest
}
function editions_garuda() {
URL="https://mirrors.fossho.st/garuda/iso/latest/garuda/"
echo $(wget -q -O - ${URL} | grep '^<a href' | sed -e 's/^.*="//' -e 's/\/.*//')
echo cinnamon dr460nized dr460nized-gaming gnome i3 kde-git kde-lite lxqt-kwin mate qtile sway wayfire xfce
}
function releases_gentoo() {
@ -890,7 +889,7 @@ EOF
# OS specific tweaks
case ${OS} in
alma|centos-stream|endless|nixos|oraclelinux|popos|rockylinux)
alma|centos-stream|endless|garuda|nixos|oraclelinux|popos|rockylinux)
echo "disk_size=\"32G\"" >> "${CONF_FILE}";;
openindiana)
echo "boot=\"legacy\"" >> "${CONF_FILE}"
@ -1305,7 +1304,7 @@ function get_garuda() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL="https://mirrors.fossho.st/garuda/iso/latest/garuda/"
local URL="https://iso.builds.garudalinux.org/iso/latest/garuda"
ISO=${EDITION}/latest.iso