diff options
Diffstat (limited to 'manualPorts')
-rwxr-xr-x | manualPorts/tex-gyre-fonts/lastVersion.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manualPorts/tex-gyre-fonts/lastVersion.sh b/manualPorts/tex-gyre-fonts/lastVersion.sh index 131fc8a..b337f4f 100755 --- a/manualPorts/tex-gyre-fonts/lastVersion.sh +++ b/manualPorts/tex-gyre-fonts/lastVersion.sh @@ -2,7 +2,11 @@ curl -Ss 'http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/' | \ tr '/"' '\n' | \ - grep "^tg-[0-9.-]*bas\.zip\$" | \ - sed "s|^tg-\([0-9.-]*\)bas\.zip\$|\1|" | \ + sed ' + s/^tg\([0-9_]\+\)otf.zip/\1/ + y/_/./ + t + d + ' | \ sort -V | \ tail -n1 |