diff options
Diffstat (limited to 'manualPorts/tex-gyre-fonts/lastVersion.sh')
-rwxr-xr-x | manualPorts/tex-gyre-fonts/lastVersion.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manualPorts/tex-gyre-fonts/lastVersion.sh b/manualPorts/tex-gyre-fonts/lastVersion.sh new file mode 100755 index 0000000..0be4021 --- /dev/null +++ b/manualPorts/tex-gyre-fonts/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/" 2> /dev/null | \ + tr "/\"" "\n" | \ + grep "^tg-[0-9.-]*bas\.zip\$" | \ + sed "s|^tg-\([0-9.-]*\)bas\.zip\$|\1|" | \ + sort -V | \ + tail -n1 |