refactor: simplify releases_openindiana()

This commit is contained in:
Martin Wimpress 2024-04-28 03:19:05 +01:00 committed by Martin Wimpress
parent a09be6a976
commit ade6860696
1 changed files with 1 additions and 2 deletions

View File

@ -919,8 +919,7 @@ function releases_openbsd(){
} }
function releases_openindiana(){ function releases_openindiana(){
web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep link | cut -d'/' -f 1 | cut -d '"' -f4 | sort -r | tail +2 | head -n 5 | tr '\n' ' ' echo $(web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep link | cut -d'/' -f 1 | cut -d '"' -f4 | sort -r | tail +2 | head -n 5 | tr '\n' ' ')
echo
} }
function editions_openindiana(){ function editions_openindiana(){