Last active
July 1, 2021 04:52
-
-
Save sulincix/ef8c7212b90d1ec2e260439f7ecbbc9c to your computer and use it in GitHub Desktop.
Get latest gentoo stage 3 tarball url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl https://www.gentoo.org/downloads/ | sed "s/.*href=\"//g" | sed "s/\".*//g" | grep "tar\." | grep -v "systemd" | grep -v "nomultilib" | grep -v "musl" | grep "amd64-" | grep -v "hardened" | sort -V | head -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment