DistroHopper/results/pureos.txt
2025-09-07 13:26:36 +00:00

36 lines
1.3 KiB
Text

pureos
pureos 10.3 gnome: https://downloads.puri.sm/byzantium/gnome/2023-06-14/pureos-10.3-gnome-live-20230614_amd64.iso
pureos 10.3 plasma: https://downloads.puri.sm/byzantium/plasma/2023-06-14/pureos-10.3-plasma-live-20230614_amd64.iso
# Template file for 'pureos'
OSNAME="pureos"
PRETTY="PureOS"
BASEDOF="Debian"
DESCRIPTION="Fully free/libre and open source GNU/Linux operating system, endorsed by the Free Software Foundation"
HOMEPAGE="https://www.pureos.net"
CREDENTIALS="-"
RELEASES="10.3"
EDITIONS="plasma gnome"
function get_() {
local HASH=""
local ISO=""
local URL=""
local PureName=
PureName="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 4)"
local PureDate=
PureDate="$(web_pipe "https://www.pureos.net/download/" | grep -m 1 "downloads.puri" | cut -d '/' -f 6)"
local PureDateSquashed="${PureDate//'-'/}"
edition="${EDITION,,}"
URL="https://downloads.puri.sm/${PureName}/${edition}/${PureDate}"
ISO="pureos-${RELEASE}-${edition}-live-${PureDateSquashed}_amd64.iso"
local IsoTrimmed=
IsoTrimmed="${ISO%.*}"
HASH="$(web_pipe "${URL}/${IsoTrimmed}.checksums_sha256.txt" | grep -m 1 '.iso' | cut -d '.' -f 1)"
echo "${URL}/${ISO} ${HASH}"
}