Add Porteus

This commit is contained in:
zenobit 2023-10-11 18:35:32 +02:00 committed by Martin Wimpress
parent 1b3c113f8d
commit ad0f1f2d3d

View File

@ -228,6 +228,7 @@ function os_support() {
oraclelinux \
peppermint \
popos \
porteus \
reactos \
rebornos \
rockylinux \
@ -582,6 +583,14 @@ function editions_popos() {
echo intel nvidia
}
function releases_porteus() {
echo 5.0 5.01
}
function editions_porteus() {
echo cinnamon gnome kde lxde lxqt mate openbox xfce
}
function releases_reactos() {
echo latest
}
@ -1781,6 +1790,19 @@ function get_popos() {
echo "${URL} ${HASH}"
}
function get_porteus() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""
edition="${EDITION~~}"
ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso"
URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}"
HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function get_reactos() {
local HASH=""
local URL=""