refactor: update blendos to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-20 10:07:54 +01:00 committed by Martin Wimpress
parent 44a7caf1a0
commit 5cb578acc6
1 changed files with 2 additions and 2 deletions

View File

@ -859,8 +859,8 @@ function releases_blendos() {
} }
function editions_blendos() { function editions_blendos() {
wget -q https://sourceforge.net/projects/blendos/rss?path=/ISOs/ -O- | grep -E -o 'https://.*blendOS\.iso.*</media:hash' >/tmp/blendos-isos.rss web_pipe "https://sourceforge.net/projects/blendos/rss?path=/ISOs/" | grep -E -o 'https://.*blendOS\.iso.*</media:hash' >/tmp/blendos-isos.rss
local BLENDOS_EDITIONS local BLENDOS_EDITIONS=""
BLENDOS_EDITIONS="$(grep -E -o 'https://.*blendOS\.iso.*</media:hash' /tmp/blendos-isos.rss | cut -d '/' -f 8 | sort | uniq | tr '\n' ' ')" BLENDOS_EDITIONS="$(grep -E -o 'https://.*blendOS\.iso.*</media:hash' /tmp/blendos-isos.rss | cut -d '/' -f 8 | sort | uniq | tr '\n' ' ')"
echo "${BLENDOS_EDITIONS}" echo "${BLENDOS_EDITIONS}"
} }