mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
24 lines
938 B
Text
24 lines
938 B
Text
# Template file for 'pbpuppy'
|
|
OSNAME="pbpuppy"
|
|
PRETTY="PeaBee's Puppy Linux"
|
|
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="-"
|
|
|
|
|
|
RELEASES="250502 250501 250404 250402 250314 250301"
|
|
EDITIONS="VoidPup64 S15Pup64 BookwormPup64-ghtest"
|
|
|
|
function 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}"
|
|
}
|
|
|