Skip to content

Commit

Permalink
Do not break on plugin removal attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Jul 31, 2020
1 parent 144956d commit 28eb80b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ before_install:
- export ES_HOME=/usr/share/elasticsearch
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ES_VERSION.deb
- sudo dpkg -i --force-confnew elasticsearch-$ES_VERSION.deb
- yes | sudo $ES_HOME/bin/elasticsearch-plugin remove analysis-icu
- yes | sudo $ES_HOME/bin/elasticsearch-plugin remove analysis-icu || return 0
- yes | sudo $ES_HOME/bin/elasticsearch-plugin install analysis-icu
- yes | sudo $ES_HOME/bin/elasticsearch-plugin remove analysis-phonetic
- yes | sudo $ES_HOME/bin/elasticsearch-plugin remove analysis-phonetic || return 0
- yes | sudo $ES_HOME/bin/elasticsearch-plugin install analysis-phonetic
- sudo chgrp elasticsearch /etc/default/elasticsearch -R
- sudo service elasticsearch start
Expand Down

0 comments on commit 28eb80b

Please sign in to comment.