Add Miyo Linux

This commit is contained in:
zenobit 2023-09-14 17:26:41 +02:00
parent c46b983108
commit 159d3a534f

View file

@ -62,6 +62,7 @@ function pretty_name() {
linuxmint) PRETTY_NAME="Linux Mint";;
lmde) PRETTY_NAME="Linux Mint Debian Edition";;
mageia) PRETTY_NAME="Mageia";;
miyo) PRETTY_NAME="Miyo Linux";;
mxlinux) PRETTY_NAME="MX Linux";;
netboot) PRETTY_NAME="netboot.xyz";;
netbsd) PRETTY_NAME="NetBSD";;
@ -229,6 +230,7 @@ function os_support() {
lmde \
mageia \
manjaro \
miyo \
mxlinux \
netboot \
netbsd \
@ -471,6 +473,10 @@ function releases_gabeeos() {
echo latest
}
function editions_gabeeos() {
echo qtile budgie
}
function releases_garuda() {
echo latest
}
@ -558,6 +564,14 @@ function editions_manjaro(){
echo full minimal
}
function releases_miyo() {
echo 2022
}
function editions_miyo(){
echo Kwin Deboot-Ceres JWM Openbox MATE
}
function releases_mxlinux(){
echo 21.3
}
@ -1734,6 +1748,23 @@ function get_manjaro() {
echo "${URL} ${HASH}"
}
function get_miyo() {
local EDITION="${1:-}"
local HASH=""
local URL="https://sourceforge.net/projects/miyolinux/files/${RELEASE}-Release/${EDITION}"
case ${EDITION} in
Kwin) ISO="miyo-kwin-x86_64-BIOS-20220526.iso";;
Deboot-Ceres) ISO="Deboot-Ceres-x86-64-BIOS-20220415.iso";;
JWM) ISO="miyolinux-jwm-x86_64-BIOS-20220226.iso";;
Openbox) ISO="MiyoLinux-x86_64-BIOS-20220129.iso";;
MATE) ISO="mate-minimal-x86_64-BIOS-20220107.iso";;
esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_mxlinux() {
local EDITION="${1:-}"
local HASH=""
@ -1791,6 +1822,7 @@ function get_openindiana(){
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" |cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_opensuse() {
local HASH=""
local ISO=""
@ -2635,3 +2667,4 @@ else
fi
# vim:tabstop=4:shiftwidth=4:expandtab