summaryrefslogtreecommitdiff
path: root/manualPorts/tex-gyre-fonts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-21 20:49:27 +0200
committerErich Eckner <git@eckner.net>2019-05-21 20:49:27 +0200
commit49a18ca4d9e936f1641d18873447af2ca1739460 (patch)
treea6be4b5603a4ba0643f34926377cc18613d57d3f /manualPorts/tex-gyre-fonts
parent13f3ecf9b8e6bdf7d205ac66f475f83d694c6916 (diff)
downloadcrux-ports-49a18ca4d9e936f1641d18873447af2ca1739460.tar.xz
tex-gyre-fonts: repair lastVersion.sh
Diffstat (limited to 'manualPorts/tex-gyre-fonts')
-rwxr-xr-xmanualPorts/tex-gyre-fonts/lastVersion.sh8
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