refactor: simplify releases_freebsd()
This commit is contained in:
parent
d111c44368
commit
6b95069304
3
quickget
3
quickget
|
@ -782,8 +782,7 @@ function editions_fedora() {
|
|||
}
|
||||
|
||||
function releases_freebsd(){
|
||||
local FBSD_RELEASES=$(web_pipe "https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/" |grep -e 'class="link"' |grep -v '\.\.'|cut -d\" -f4|tr -d '/' | sort -r | tr '\n' ' ')
|
||||
echo "${FBSD_RELEASES}"
|
||||
echo $(web_pipe "https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/" |grep -e 'class="link"' |grep -v '\.\.'|cut -d\" -f4|tr -d '/' | sort -r)
|
||||
}
|
||||
|
||||
function editions_freebsd(){
|
||||
|
|
Loading…
Reference in New Issue