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 Tuxedo OS #1002

Merged
merged 1 commit into from
Apr 15, 2024
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
18 changes: 18 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function pretty_name() {
tinycore) PRETTY_NAME="Tiny Core Linux";;
truenas-core) PRETTY_NAME="TrueNAS Core";;
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
tuxedo-os) PRETTY_NAME="Tuxedo OS";;
ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";;
ubuntucinnamon) PRETTY_NAME="Ubuntu Cinnamon";;
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
Expand Down Expand Up @@ -305,6 +306,7 @@ function os_support() {
trisquel \
truenas-core \
truenas-scale \
tuxedo-os \
ubuntu \
ubuntu-budgie \
ubuntucinnamon \
Expand Down Expand Up @@ -408,6 +410,7 @@ function os_homepages(){
trisquel) HOMEPAGE="https://trisquel.info/";;
truenas-core) HOMEPAGE="https://www.truenas.com/truenas-core/";;
truenas-scale) HOMEPAGE="https://www.truenas.com/truenas-scale/";;
tuxedo-os) HOMEPAGE="https://www.tuxedocomputers.com";;
ubuntu) HOMEPAGE="https://ubuntu.com/";;
ubuntu-budgie) HOMEPAGE="https://ubuntubudgie.org/";;
ubuntucinnamon) HOMEPAGE="https://ubuntucinnamon.org/";;
Expand Down Expand Up @@ -975,6 +978,10 @@ function releases_truenas-scale() {
echo 22.02 22.12
}

function releases_tuxedo-os() {
echo current
}

function releases_ubuntu() {
local VERSION_DATA="$(IFS=$'\n' wget -qO- https://api.launchpad.net/devel/ubuntu/series | jq -r '.entries[]')"
local SUPPORTED_VERSIONS=($(IFS=$'\n' jq -r 'select(.status=="Supported" or .status=="Current Stable Release") | .version' <<<${VERSION_DATA} | sort))
Expand Down Expand Up @@ -2605,6 +2612,17 @@ function get_truenas-core() {
echo "${URL} ${HASH}"
}

function get_tuxedo-os() {

local ISO=""
local URL=""
local Current=
Current="$(wget -O- -q "https://os.tuxedocomputers.com/" | grep -m 1 current.iso | cut -d '=' -f 4 | cut -d '"' -f 2)"
URL="https://os.tuxedocomputers.com/${Current}"
HASH="$(wget -q -O- "https://os.tuxedocomputers.com/checksums/${Current}.sha256" | cut -d ' ' -f 1)"
echo "${URL} ${HASH}"
}

function get_ubuntu-server() {

local HASH=""
Expand Down