DistroHopper/public/pbpuppy
2026-05-27 17:00:06 +02:00

40 lines
1.5 KiB
Text

# Template file for 'pbpuppy'
OSNAME="pbpuppy"
PRETTY="PeaBee's Puppy Linux"
LOGO=""
ICON=""
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/pbpuppy.png"
CATEGORY="Lightweight"
BASEDOF="Void,Ubuntu,Debian,Slackware"
DESCRIPTION="Puppy Linux releases from Github. Brought to you by: peabee"
HOMEPAGE="https://sourceforge.net/projects/pb-gh-releases"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
MAGNET=""
CHAT=""
RELEASES="260502 260401"
EDITIONS="BookwormPup64-ghtest ResolutePup64-alpha S15Pup64 TrixiePup64Retro TrixiePup64Wayland VoidPup64"
QEMU_ARCH="amd64"
releases_() {
echo $(web_pipe "https://sourceforge.net/projects/pb-gh-releases/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep '64' | cut -d'-' -f3 | grep -oP '\d{6}(?=\.iso)' | sort -u)
}
editions_() {
echo $(web_pipe "https://sourceforge.net/projects/pb-gh-releases/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep '64' | cut -d'/' -f2 | cut -d'_' -f1 | sort -u)
}
get_() {
local HASH=""
local URL="https://sourceforge.net/projects/pb-gh-releases/files/VoidPup64_release"
if [ "${RELEASE}" == 'ghtest' ]; then
ISO=$(web_pipe "https://sourceforge.net/projects/pb-gh-releases/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep '64' | cut -d'/' -f3 | grep "${RELEASE}" | grep "${EDITION}")
else
ISO="VoidPup64-22.02-${RELEASE}.iso"
fi
HASH=$(web_pipe "${URL}"/SHA512checksums.txt | grep "${ISO}" | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}