miyo: Initial Support

This commit is contained in:
zenobit 2023-03-21 06:17:07 +01:00
parent 37736cf4e6
commit 611f8fb295

View file

@ -57,6 +57,7 @@ function pretty_name() {
linuxmint) PRETTY_NAME="Linux Mint";; linuxmint) PRETTY_NAME="Linux Mint";;
lmde) PRETTY_NAME="Linux Mint Debian Edition";; lmde) PRETTY_NAME="Linux Mint Debian Edition";;
mageia) PRETTY_NAME="Mageia";; mageia) PRETTY_NAME="Mageia";;
miyo) PRETTY_NAME="Miyo Linux";;
mxlinux) PRETTY_NAME="MX Linux";; mxlinux) PRETTY_NAME="MX Linux";;
netboot) PRETTY_NAME="netboot.xyz";; netboot) PRETTY_NAME="netboot.xyz";;
netbsd) PRETTY_NAME="NetBSD";; netbsd) PRETTY_NAME="NetBSD";;
@ -214,6 +215,7 @@ function os_support() {
lmde \ lmde \
mageia \ mageia \
manjaro \ manjaro \
miyo \
mxlinux \ mxlinux \
netboot \ netboot \
netbsd \ netbsd \
@ -501,6 +503,14 @@ function releases_manjaro() {
mate mate
} }
function releases_miyo() {
echo latest 2022 2020 2019 2018 2017 2016
}
function editions_miyo(){
echo kwin ceres jwm openbox mate
}
function releases_mxlinux(){ function releases_mxlinux(){
echo 21.3 echo 21.3
} }
@ -1617,6 +1627,15 @@ function get_manjaro() {
echo "${URL} ${HASH}" echo "${URL} ${HASH}"
} }
function get_miyo() {
local EDITION=
local HASH=
local ISO=miyo-${EDITION}-x86_64-BIOS-${DATE}.iso
local URL=https://sourceforge.net/projects/miyolinux/files/${RELEASE}-Release/${EDITION}
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_mxlinux() { function get_mxlinux() {
local EDITION="${1:-}" local EDITION="${1:-}"
local HASH="" local HASH=""