diff options
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/applications/graphics/tesseract/fetch-language-hashes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/tesseract/fetch-language-hashes b/pkgs/applications/graphics/tesseract/fetch-language-hashes index c431f1d97c260..05d4514898e30 100755 --- a/pkgs/applications/graphics/tesseract/fetch-language-hashes +++ b/pkgs/applications/graphics/tesseract/fetch-language-hashes @@ -25,7 +25,7 @@ else >&2 echo "Invalid tessdataRev: $tessdataRev" exit 1 }) - langCodes=$(echo $(echo "$repoPage" | grep -ohP "(?<=/)[^/]+?(?=\.traineddata)" | sort)) + langCodes=$(echo $(echo "$repoPage" | grep -ohP "(?<=/)[^/ ]+?(?=\.traineddata)" | sort -u)) fi for lang in $langCodes; do |