From 6cf5fc6c896748d520ff9cdfd27b676c50e1fdc5 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Sat, 14 May 2022 02:51:50 +0800 Subject: [PATCH] avoid worldlist*zip and hunspell*zip for hunspell Let's not create worldlist*zip and hunspell*zip for hunspell. We are not going to distribute them or use them in any way. Saves us a zip build-depdency but more importantly it does not create "binary" files in speller/hunspell we would need to manually remove it clean. Gbp-Pq: Name no-zips.diff --- speller/make-hunspell-dict | 9 --------- 1 file changed, 9 deletions(-) diff --git a/speller/make-hunspell-dict b/speller/make-hunspell-dict index 3d02dda..fa8d8ee 100755 --- a/speller/make-hunspell-dict +++ b/speller/make-hunspell-dict @@ -56,12 +56,8 @@ doit() { cat $3 >> README_$1.txt fi - rm -f hunspell-$fn.zip - zip -9 hunspell-$fn.zip README_$1.txt $1.dic $1.aff - if [ -z "$3" ]; then mkdir -p hunspell - cp hunspell-$fn.zip hunspell/ #echo check @@ -70,11 +66,6 @@ doit() { #hunspell -l -d ./$1 < $1.dic.tocheck > misspelled cat $1.tocheck | iconv -f iso-8859-1 -t utf-8 | $UNIX2DOS > $1.txt - cat < README.txt -This zip file contains the words found in the corresponding Hunspell -dictionary. See the file README_$1.txt. -EOF - zip -9 hunspell/wordlist-$fn.zip README.txt README_$1.txt $1.txt fi }