Skip to content

Commit

Permalink
Add Tuxedo OS
Browse files Browse the repository at this point in the history
As requested by @zen0bit ...

:heart:
  • Loading branch information
TuxVinyards authored and flexiondotorg committed Apr 15, 2024
1 parent 4337aff commit eac8cc2
Showing 1 changed file with 18 additions and 0 deletions.
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

0 comments on commit eac8cc2

Please sign in to comment.