From ad0f1f2d3de30189b133136bbc2e2827ac5cc575 Mon Sep 17 00:00:00 2001 From: zenobit Date: Wed, 11 Oct 2023 18:35:32 +0200 Subject: [PATCH] Add Porteus --- quickget | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/quickget b/quickget index 386b73d..00e59f1 100755 --- a/quickget +++ b/quickget @@ -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=""