DistroHopper/actions/mageia
Claude 6d921d220e
Fix bugs in dh, pclinuxos; add easyos, fedora, mageia, zorin actions
- dh: fix comment with stray '#TODO' in desktop entry
- dh: fix silent unconditional exit bug in renew_ready() and
  renew_ready_vms() (cd || echo; exit 1 → cd || { echo; exit 1; })
- dh: implement distrohopper_about() and help_show() using yad dialogs
- dh: fix renew_supported_vms() logic where execmd was never set when
  editions existed and interminal=yes; separate terminal flag from
  execmd assignment
- dh: detect available terminal emulator (sakura → xterm → x-terminal-emulator)
  instead of hard-coding sakura
- actions/pclinuxos: fix URL variable used before definition in get_()
- actions/: add easyos, fedora, mageia, zorin from TODO/ (complete implementations)

https://claude.ai/code/session_01M2UXTtQwzcGCNRnFiP2efQ
2026-02-28 19:25:15 +00:00

24 lines
592 B
Text

# Template file for 'mageia'
OSNAME="mageia"
PRETTY="Mageia"
ICON=""
BASEDOF="-"
HOMEPAGE="https://www.mageia.org"
DESCRIPTION="Stable, secure operating system for desktop & server"
CREDENTIALS="-"
function releases_() {
echo 9 8
}
function editions_() {
echo Plasma GNOME Xfce
}
function get_() {
local HASH=""
local ISO=""
ISO=$(web_pipe https://www.mageia.org/en/downloads/get/?q="Mageia-${RELEASE}-Live-${EDITION}-x86_64.iso" | grep 'click here'| grep -o 'href=.*\.iso'|cut -d\" -f2)
HASH=$(web_pipe "${ISO}.sha512" | cut -d' ' -f1)
echo "${ISO} ${HASH}"
}