DistroHopper/public/biglinux
2026-11-29 05:46:38 +01:00

69 lines
1.7 KiB
Text

# Template file for 'biglinux'
OSNAME="biglinux"
PRETTY="BigLinux"
LOGO=" "
ICON="biglinux.svg"
ICON_ONLINE=""
CATEGORY="Beginner"
BASEDOF="Manjaro"
DESCRIPTION="Is the right choice if you want to have an easy and enriching experience with Linux. It has been perfected over more than 19 years, following our motto: 'In search of the perfect system'"
HOMEPAGE="https://www.biglinux.com.br"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
MAGNET_PREFERRED=""
TORRENT=""
CHAT=""
RELEASES="2026-10-03"
EDITIONS="k612 k618 k72"
EDITIONS_LIST="k612
k618
k72"
QEMU_ARCH="amd64"
releases_() {
#shellcheck disable=SC2046,SC2005
web_pipe "https://iso.biglinux.com.br" | grep -Eo 'biglinux_[0-9]{4}(-[0-9]{2}){2}_k[0-9]{2,3}.iso' | cut -d'_' -f2 | sort -ru | head -n 1
}
editions_() {
#shellcheck disable=SC2046,SC2005
web_pipe "https://iso.biglinux.com.br" | grep -Eo "biglinux_$(releases_)_k[0-9]{2,3}.iso" | cut -d'_' -f3 | cut -d'.' -f1 | sort -Vru
}
get_() {
local HASH=""
local ISO="biglinux_${RELEASE}_${EDITION}.iso"
local URL="https://iso.biglinux.com.br"
HASH=$(web_pipe "${URL}/${ISO}.md5" | grep -Eo '[[:alnum:]]{32}')
echo "${URL}/${ISO} ${HASH}"
}
config_() {
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
}
releases_() {
# Releases parsed at generation time — no network access needed.
echo "${RELEASES}"
}
editions_() {
# Editions parsed at generation time — no network access needed.
local _scoped=""
if [ -n "${RELEASE:-}" ] && declare -F _release_editions_ >/dev/null; then
_scoped=$(_release_editions_ "${ARCH:-}|${RELEASE}")
fi
if [ -n "${_scoped}" ]; then
echo "${_scoped}"
return 0
fi
local _per_arch="EDITIONS_${ARCH:-}"
if [ -n "${!_per_arch:-}" ]; then
echo "${!_per_arch}"
return 0
fi
echo "${EDITIONS:-}"
}