mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-03 05:25:32 +02:00
refactor: simplify releases_dragonflybsd()
This commit is contained in:
parent
409523d402
commit
0f970a46f8
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
Block a user