Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PureOS #786

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function pretty_name() {
opensuse) PRETTY_NAME="openSUSE";;
oraclelinux) PRETTY_NAME="Oracle Linux";;
popos) PRETTY_NAME="Pop!_OS";;
pureos) PRETTY_NAME="PureOS";;
reactos) PRETTY_NAME="ReactOS";;
rebornos) PRETTY_NAME="RebornOS";;
rockylinux) PRETTY_NAME="Rocky Linux";;
Expand Down Expand Up @@ -219,6 +220,7 @@ function os_support() {
opensuse \
oraclelinux \
popos \
pureos \
reactos \
rebornos \
rockylinux \
Expand Down Expand Up @@ -529,6 +531,14 @@ function editions_popos() {
echo intel nvidia
}

function releases_pureos() {
echo 9.0 10.3
}

function editions_pureos() {
echo gnome plasma
}

function releases_reactos() {
echo latest
}
Expand Down Expand Up @@ -1607,6 +1617,26 @@ function get_popos() {
echo "${URL} ${HASH}"
}

function get_pureos() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL=""

case ${RELEASE} in
9)
URL="https://downloads.puri.sm/9/live/${EDITION}/2020-08-06"
ISO="pureos-${RELEASE}-${EDITION}-live_20200806-amd64.hybrid.iso"
HASH=$(wget -q -O- "${URL}/checksums.sha256sum" | grep "${ISO}" | cut -d' ' -f1)
;;
10)
URL="https://downloads.puri.sm/10/${EDITION}/2023-06-14"
ISO="pureos-${RELEASE}-${EDITION}-live-20230614_amd64.iso"
HASH=$(wget -q -O- "${URL}/pureos-${RELEASE}-${EDITION}-live-20230614_amd64.checksums_sha256.txt" | head -1 | cut -d' ' -f1)
esac
echo "${URL}/${ISO} ${HASH}"
}

function get_reactos() {
local HASH=""
local URL=""
Expand Down