Fix GabeeOS
This commit is contained in:
parent
dccea3891b
commit
55d0b6da6a
|
|
@ -7,25 +7,24 @@ HOMEPAGE="https://sourceforge.net/projects/gabeeoslinux/"
|
||||||
CREDENTIALS="anon:voidlinux,root:voidlinux"
|
CREDENTIALS="anon:voidlinux,root:voidlinux"
|
||||||
|
|
||||||
function releases_() {
|
function releases_() {
|
||||||
echo release beta
|
echo latest
|
||||||
}
|
}
|
||||||
|
|
||||||
function editions_() {
|
function editions_() {
|
||||||
echo Openbox Qtile
|
echo $(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f3 | sort | uniq)
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_() {
|
function get_() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
case "${RELEASE}" in
|
if [ "${EDITION}" == 'i3-gaps' ]; then
|
||||||
release)
|
REL=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f2,3)
|
||||||
REL="Release-2024"
|
ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f4)
|
||||||
;;
|
else
|
||||||
beta)
|
REL=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f2,3,4)
|
||||||
REL="beta"
|
ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f5)
|
||||||
;;
|
fi
|
||||||
esac
|
URL="https://sourceforge.net/projects/gabeeoslinux/files/${REL}"
|
||||||
ISO="gabeeOSLinux-Openbox-Cherry-x86_64-6.1.25_1-20230502.iso"
|
#ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f5 | grep "${EDITION}" | head -1)
|
||||||
URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/${EDITION}/${REL}"
|
# No hash provided
|
||||||
ISO="$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f5 | grep "${EDITION}" | head -1)"
|
|
||||||
echo "${URL}/${ISO}"
|
echo "${URL}/${ISO}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,30 +7,29 @@ HOMEPAGE="https://sourceforge.net/projects/gabeeoslinux/"
|
||||||
CREDENTIALS="anon:voidlinux,root:voidlinux"
|
CREDENTIALS="anon:voidlinux,root:voidlinux"
|
||||||
|
|
||||||
|
|
||||||
RELEASES="release beta"
|
RELEASES="latest"
|
||||||
EDITIONS="Qtile Openbox"
|
EDITIONS="i3-gaps Qtile Openbox"
|
||||||
|
|
||||||
function releases_() {
|
function releases_() {
|
||||||
echo release beta
|
echo latest
|
||||||
}
|
}
|
||||||
|
|
||||||
function editions_() {
|
function editions_() {
|
||||||
echo Openbox Qtile
|
echo $(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f3 | sort | uniq)
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_() {
|
function get_() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
case "${RELEASE}" in
|
if [ "${EDITION}" == 'i3-gaps' ]; then
|
||||||
release)
|
REL=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f2,3)
|
||||||
REL="Release-2024"
|
ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f4)
|
||||||
;;
|
else
|
||||||
beta)
|
REL=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f2,3,4)
|
||||||
REL="beta"
|
ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/Distro/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | grep "${EDITION}" | head -1 | cut -d'/' -f5)
|
||||||
;;
|
fi
|
||||||
esac
|
URL="https://sourceforge.net/projects/gabeeoslinux/files/${REL}"
|
||||||
ISO="gabeeOSLinux-Openbox-Cherry-x86_64-6.1.25_1-20230502.iso"
|
#ISO=$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f5 | grep "${EDITION}" | head -1)
|
||||||
URL="https://sourceforge.net/projects/gabeeoslinux/files/Distro/${EDITION}/${REL}"
|
# No hash provided
|
||||||
ISO="$(web_pipe "https://sourceforge.net/projects/gabeeoslinux/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | cut -d'/' -f5 | grep "${EDITION}" | head -1)"
|
|
||||||
echo "${URL}/${ISO}"
|
echo "${URL}/${ISO}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue