summaryrefslogtreecommitdiff
path: root/manualPorts/tex-gyre-fonts/lastVersion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/tex-gyre-fonts/lastVersion.sh')
-rwxr-xr-xmanualPorts/tex-gyre-fonts/lastVersion.sh8
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