aboutsummaryrefslogtreecommitdiff
path: root/dicts/gnu-fdl-de-cz.sh
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-02 16:57:18 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-02 17:04:37 +0100
commitb36f185426be3ac0bfb942fa4a52528a8d70a61a (patch)
treeaed594826c18582472ab06e3c706ee1712260647 /dicts/gnu-fdl-de-cz.sh
parent726ecd83ac6da35347be547b42588eb9f3db5070 (diff)
downloadtdv-b36f185426be3ac0bfb942fa4a52528a8d70a61a.tar.gz
tdv-b36f185426be3ac0bfb942fa4a52528a8d70a61a.tar.xz
tdv-b36f185426be3ac0bfb942fa4a52528a8d70a61a.zip
Fix various macOS-related/found issues
Even though this software isn't very useful on that system either, due to its lack of PRIMARY.
Diffstat (limited to 'dicts/gnu-fdl-de-cz.sh')
-rwxr-xr-xdicts/gnu-fdl-de-cz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dicts/gnu-fdl-de-cz.sh b/dicts/gnu-fdl-de-cz.sh
index ffe56a4..8fab695 100755
--- a/dicts/gnu-fdl-de-cz.sh
+++ b/dicts/gnu-fdl-de-cz.sh
@@ -2,7 +2,7 @@
# GNU/FDL German-Czech dictionary, see https://gnu.nemeckoceskyslovnik.cz
# Sometimes the domain doesn't resolve, and the contents are close to useless
-[ -n "$WANT_BAD_DICTS" ] || exit
+[ -n "$WANT_BAD_DICTS" ] || exit 0
curl -Lo- 'https://gnu.nemeckoceskyslovnik.cz/index.php?id=6&sablona=export&format=zcu' | \
grep -v ^# | sed 's/\\//g' | perl -CSD -F\\t -le '