DistroHopper/public/tails
2025-09-07 13:26:36 +00:00

26 lines
749 B
Text

# Template file for 'tails'
OSNAME="tails"
PRETTY="Tails"
BASEDOF="Debian"
DESCRIPTION="Portable operating system that protects against surveillance and censorship"
HOMEPAGE="https://tails.net"
CREDENTIALS="-"
RELEASES="stable"
function get_() {
local JSON=""
local HASH=""
local URL=""
JSON="$(web_pipe "https://tails.boum.org/install/v2/Tails/amd64/${RELEASE}/latest.json")"
URL=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].url')
HASH=$(echo "${JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].sha256')
echo "${URL} ${HASH}"
}
function specific_tweaks() {
echo "boot=\"legacy\"" >> "${CONF_FILE}"
}