Skip to content

Commit

Permalink
brl-fetch: funtoo: add dynamic releases listing
Browse files Browse the repository at this point in the history
  • Loading branch information
androw committed Mar 28, 2022
1 parent 3d3d8d6 commit bd77fab
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/slash-bedrock/share/brl-fetch/distros/funtoo
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,16 @@ default_release() {
}

list_releases() {
cat <<EOF
1.4-release-std
next
EOF
for mirror in "${flag_mirror}" $(list_mirrors); do
if download -q "${mirror}/" - |
list_links |
grep '/$' |
awk -F'/' '{print $4}' |
grep -v '^livecd$' |
grep -v '^distfiles$'; then
break
fi
done
}

fetch() {
Expand Down

0 comments on commit bd77fab

Please sign in to comment.