miyo: Initial Support

This commit is contained in:
zenobit 2023-03-21 06:17:07 +01:00
parent 37736cf4e6
commit 611f8fb295
1 changed files with 19 additions and 0 deletions

View File

@ -57,6 +57,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";;
@ -214,6 +215,7 @@ function os_support() {
lmde \
mageia \
manjaro \
miyo \
mxlinux \
netboot \
netbsd \
@ -501,6 +503,14 @@ function releases_manjaro() {
mate
}
function releases_miyo() {
echo latest 2022 2020 2019 2018 2017 2016
}
function editions_miyo(){
echo kwin ceres jwm openbox mate
}
function releases_mxlinux(){
echo 21.3
}
@ -1617,6 +1627,15 @@ function get_manjaro() {
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() {
local EDITION="${1:-}"
local HASH=""