# Template file for 'loc-os' OSNAME="loc-os" PRETTY="Loc-OS Linux" LOGO="" ICON="loc-os.svg" ICON_ONLINE="" CATEGORY="Lightweight" BASEDOF="Debian" DESCRIPTION="Distribution of GNU/Linux focused on low resource consumption." HOMEPAGE="https://loc-os.com" CREDENTIALS="-" GPG="" RSS="" DW="" MAGNET="" MAGNET_PREFERRED="" TORRENT="" CHAT="" RELEASES="latest" EDITIONS="kde lxde xfce" EDITIONS_LIST="kde lxde xfce" QEMU_ARCH="amd64" releases_() { echo latest } editions_() { echo lxde xfce kde } get_() { local HASH="" local REL=$(echo "${EDITION}" | tr '[:lower:]' '[:upper:]') URL="https://sourceforge.net/projects/loc-os/files" REST_URL=$(web_pipe "https://sourceforge.net/projects/loc-os/rss?path=/" | grep 'title>/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:-}" }