parent
4337aff726
commit
eac8cc2031
18
quickget
18
quickget
|
@ -119,6 +119,7 @@ function pretty_name() {
|
||||||
tinycore) PRETTY_NAME="Tiny Core Linux";;
|
tinycore) PRETTY_NAME="Tiny Core Linux";;
|
||||||
truenas-core) PRETTY_NAME="TrueNAS Core";;
|
truenas-core) PRETTY_NAME="TrueNAS Core";;
|
||||||
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
|
truenas-scale) PRETTY_NAME="TrueNAS Scale";;
|
||||||
|
tuxedo-os) PRETTY_NAME="Tuxedo OS";;
|
||||||
ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";;
|
ubuntu-budgie) PRETTY_NAME="Ubuntu Budgie";;
|
||||||
ubuntucinnamon) PRETTY_NAME="Ubuntu Cinnamon";;
|
ubuntucinnamon) PRETTY_NAME="Ubuntu Cinnamon";;
|
||||||
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
|
ubuntukylin) PRETTY_NAME="Ubuntu Kylin";;
|
||||||
|
@ -305,6 +306,7 @@ function os_support() {
|
||||||
trisquel \
|
trisquel \
|
||||||
truenas-core \
|
truenas-core \
|
||||||
truenas-scale \
|
truenas-scale \
|
||||||
|
tuxedo-os \
|
||||||
ubuntu \
|
ubuntu \
|
||||||
ubuntu-budgie \
|
ubuntu-budgie \
|
||||||
ubuntucinnamon \
|
ubuntucinnamon \
|
||||||
|
@ -408,6 +410,7 @@ function os_homepages(){
|
||||||
trisquel) HOMEPAGE="https://trisquel.info/";;
|
trisquel) HOMEPAGE="https://trisquel.info/";;
|
||||||
truenas-core) HOMEPAGE="https://www.truenas.com/truenas-core/";;
|
truenas-core) HOMEPAGE="https://www.truenas.com/truenas-core/";;
|
||||||
truenas-scale) HOMEPAGE="https://www.truenas.com/truenas-scale/";;
|
truenas-scale) HOMEPAGE="https://www.truenas.com/truenas-scale/";;
|
||||||
|
tuxedo-os) HOMEPAGE="https://www.tuxedocomputers.com";;
|
||||||
ubuntu) HOMEPAGE="https://ubuntu.com/";;
|
ubuntu) HOMEPAGE="https://ubuntu.com/";;
|
||||||
ubuntu-budgie) HOMEPAGE="https://ubuntubudgie.org/";;
|
ubuntu-budgie) HOMEPAGE="https://ubuntubudgie.org/";;
|
||||||
ubuntucinnamon) HOMEPAGE="https://ubuntucinnamon.org/";;
|
ubuntucinnamon) HOMEPAGE="https://ubuntucinnamon.org/";;
|
||||||
|
@ -975,6 +978,10 @@ function releases_truenas-scale() {
|
||||||
echo 22.02 22.12
|
echo 22.02 22.12
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function releases_tuxedo-os() {
|
||||||
|
echo current
|
||||||
|
}
|
||||||
|
|
||||||
function releases_ubuntu() {
|
function releases_ubuntu() {
|
||||||
local VERSION_DATA="$(IFS=$'\n' wget -qO- https://api.launchpad.net/devel/ubuntu/series | jq -r '.entries[]')"
|
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))
|
local SUPPORTED_VERSIONS=($(IFS=$'\n' jq -r 'select(.status=="Supported" or .status=="Current Stable Release") | .version' <<<${VERSION_DATA} | sort))
|
||||||
|
@ -2605,6 +2612,17 @@ function get_truenas-core() {
|
||||||
echo "${URL} ${HASH}"
|
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() {
|
function get_ubuntu-server() {
|
||||||
|
|
||||||
local HASH=""
|
local HASH=""
|
||||||
|
|
Loading…
Reference in New Issue