mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-12-06 04:43:46 +00:00
29 lines
894 B
Text
29 lines
894 B
Text
# Template file for 'pantherx-os'
|
|
OSNAME="pantherx-os"
|
|
PRETTY="PantherX"
|
|
LOGO=""
|
|
ICON="pantherx-os.svg"
|
|
CATEGORY="advanced"
|
|
BASEDOF="guix"
|
|
HOMEPAGE="https://www.pantherx.org"
|
|
DESCRIPTION="PantherX is designed to enable everyone without a PHD in computer science to enjoy a fast, flexible and private work & entertainment platform that runs for years, with little intervention"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
|
|
function releases_() {
|
|
echo latest
|
|
}
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL=""
|
|
local TEMP=""
|
|
URL="https://temp.pantherx.org"
|
|
TEMP="$(web_pipe "https://wiki.pantherx.org/" | grep -o 'href="https://temp.pantherx.org/[^"]*\.iso"')"
|
|
ISO="$(basename $(echo ${TEMP} | cut -d'"' -f2))"
|
|
HASH="$(web_pipe "https://wiki.pantherx.org/" | grep -A2 'download-iso-x86_64' | grep -o '<code>[^<]*</code>' | sed 's/<[^>]*>//g' | head -1)"
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|