refactor: update gnomeos to use web_pipe()
This commit is contained in:
parent
8e14a580c4
commit
139601d024
2
quickget
2
quickget
|
@ -1020,7 +1020,7 @@ function editions_ghostbsd() {
|
||||||
|
|
||||||
function releases_gnomeos() {
|
function releases_gnomeos() {
|
||||||
local GNOMEOS_RELEASES=""
|
local GNOMEOS_RELEASES=""
|
||||||
GNOMEOS_RELEASES="$(curl -s https://download.gnome.org/gnomeos/ | grep -o -P '(?<=<a href=").*(?=/" title=")' | sort -nr | tr '\n' ' ')"
|
GNOMEOS_RELEASES="$(web_pipe "https://download.gnome.org/gnomeos/" | grep -o -P '(?<=<a href=").*(?=/" title=")' | sort -nr | tr '\n' ' ')"
|
||||||
echo nightly "${GNOMEOS_RELEASES}"
|
echo nightly "${GNOMEOS_RELEASES}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue