refactor: simplify releases_dragonflybsd()
This commit is contained in:
parent
b94e8dee29
commit
6ec68acd80
3
quickget
3
quickget
|
@ -742,8 +742,7 @@ function releases_devuan() {
|
|||
function releases_dragonflybsd() {
|
||||
# If you remove "".bz2" from the end of the searched URL, you will get only the current release - currently 6.4.0
|
||||
# We could add a variable so this behaviour is optional/switchable (maybe from option or env)
|
||||
DBSD_RELEASES=$(web_pipe "http://mirror-master.dragonflybsd.org/iso-images/" | grep -E -o '"dfly-x86_64-.*_REL.iso.bz2"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+' | tr '\n' ' ')
|
||||
echo "$DBSD_RELEASES"
|
||||
echo $(web_pipe "http://mirror-master.dragonflybsd.org/iso-images/" | grep -E -o '"dfly-x86_64-.*_REL.iso.bz2"' | grep -o -E '[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+')
|
||||
}
|
||||
|
||||
function releases_easyos() {
|
||||
|
|
Loading…
Reference in New Issue