summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-06 23:14:43 +0200
committerErich Eckner <git@eckner.net>2018-07-06 23:14:43 +0200
commitbd5ac794f3573d8d9a81828b80371925d0ccee9f (patch)
treeb533774a9a4d1fe7696f9af6781ed33a268dd3b8
parent883f9cee6d4ddc6ff14ed8d5b6be89597350ea4b (diff)
downloadcrux-ports-bd5ac794f3573d8d9a81828b80371925d0ccee9f.tar.xz
manualPorts/tex-gyre-fonts/lastVersion.sh: cleanup
-rwxr-xr-xmanualPorts/tex-gyre-fonts/lastVersion.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/manualPorts/tex-gyre-fonts/lastVersion.sh b/manualPorts/tex-gyre-fonts/lastVersion.sh
index 0be4021..131fc8a 100755
--- a/manualPorts/tex-gyre-fonts/lastVersion.sh
+++ b/manualPorts/tex-gyre-fonts/lastVersion.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-curl "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/" 2> /dev/null | \
- tr "/\"" "\n" | \
+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|" | \
sort -V | \