mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
- 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
24 lines
592 B
Text
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}"
|
|
}
|