Files
stiftung-management-system/app/.venv/Lib/site-packages/pyphen/dictionaries/update.sh
2025-09-06 18:31:54 +02:00

8 lines
251 B
Bash

git clone https://git.libreoffice.org/dictionaries libreoffice-dictionaries
cd libreoffice-dictionaries
git pull
cd ..
find libreoffice-dictionaries -name "hyph_*\.dic" | xargs -I '{}' cp '{}' .
sed -i 's/\r$//' *.dic
rename -- -Latn _Latn *-Latn.dic