diff --git a/files/ci/check-install.sh b/files/ci/check-install.sh index e375e09..64b21a8 100644 --- a/files/ci/check-install.sh +++ b/files/ci/check-install.sh @@ -6,10 +6,7 @@ PWD_DIR=`pwd` DIR=`dirname $0` apt-get -yqq update && apt-get install -y curl wget unzip binutils hunspell hunspell-ru hunspell-en-us hunspell-de-de jq -curl -s https://extensions.libreoffice.org/en/extensions/show/russian-spellcheck-dictionary > .dict_page -echo -n "https://extensions.libreoffice.org" > .current_release -strings .dict_page | grep -ozP '
  • (\n|.)*?
  • ' | grep -zoP -m 1 'href=".*?">Download' | head -1 | sed 's/href="//' | sed 's/">Download//' >> .current_release -cat .current_release | wget -q -i - -O /tmp/dictionary.otx +wget https://extensions.libreoffice.org/assets/downloads/48/dict_ru_ru-aot-0.4.5.oxt -O /tmp/dictionary.otx unzip /tmp/dictionary.otx -d /tmp cp /tmp/*.dic /usr/share/hunspell cp /tmp/*.aff /usr/share/hunspell @@ -43,4 +40,4 @@ go get -u github.com/ewgRa/ci-utils/cmd/github_comments_send cd $DIR/go go build -o /tmp/check_spell check_spell/main.go go build -o /tmp/check_links check_links/main.go -cd $PWD_DIR \ No newline at end of file +cd $PWD_DIR