mirror of
https://github.com/ru-de/faq.git
synced 2024-11-09 12:11:02 +00:00
fix spell check
This commit is contained in:
parent
c188844f6b
commit
65d6fdd833
@ -1,7 +1,11 @@
|
||||
before_install:
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y hunspell hunspell-ru hunspell-en-us hunspell-de-de
|
||||
- curl -s https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group | grep -oP "<a href.+title=\"Current release for the project\"" | grep -oP "https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/[^\"]+" | wget -q -i - -O dictionary.otx
|
||||
- curl -s https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group > .dict_page
|
||||
- cat .dict_page | grep -oP "<a href.+title=\"Current release for the project\"" | grep -oP "https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/[^\"]+" > .current_release
|
||||
- echo -n $(cat .current_release) > .current_release
|
||||
- echo -n "/@@download[^\"]+" >> .current_release
|
||||
- cat .dict_page | grep -oP -f .current_release | wget -q -i - -O dictionary.otx
|
||||
- unzip dictionary.otx
|
||||
- git config core.quotepath false
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user