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 Trisquel GNU Linux #766

Merged
merged 1 commit into from
Oct 16, 2023
Merged
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
25 changes: 25 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ function os_support() {
solus \
holoiso \
tails \
trisquel \
truenas-core \
truenas-scale \
ubuntu \
Expand Down Expand Up @@ -579,6 +580,14 @@ function releases_tails() {
echo stable
}

function releases_trisquel() {
echo 10.0.1 11.0
}

function editions_trisquel() {
echo mate lxde kde sugar
}

function releases_truenas() {
if [[ $OS == truenas ]] ; then
echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale"
Expand Down Expand Up @@ -1687,6 +1696,22 @@ function get_tails() {
echo "${URL} ${HASH}"
}

function get_trisquel() {
local EDITION="${1:-}"
local HASH=""
local ISO=""
local URL="https://mirrors.ocf.berkeley.edu/trisquel-images"

case ${EDITION} in
mate) ISO="trisquel_${RELEASE}_amd64.iso";;
lxde) ISO="trisquel-mini_${RELEASE}_amd64.iso";;
kde) ISO="triskel_${RELEASE}_amd64.iso";;
sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";;
esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}

function get_truenas-scale() {
local ISO=""
local URL=""
Expand Down