[Groonga-mysql-commit] mroonga/mroonga [master] travis: don't install groonga-tokenizer-mecab package if it already exists

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Feb 6 13:24:12 JST 2013


Kouhei Sutou	2013-02-06 13:24:12 +0900 (Wed, 06 Feb 2013)

  New Revision: 5985aebbfac560872cee9bdf8be35e927807b442
  https://github.com/mroonga/mroonga/commit/5985aebbfac560872cee9bdf8be35e927807b442

  Log:
    travis: don't install groonga-tokenizer-mecab package if it already exists
    
    This is for GROONGA_MASTER=yes.

  Modified files:
    tools/travis/install.sh

  Modified: tools/travis/install.sh (+4 -1)
===================================================================
--- tools/travis/install.sh    2013-02-06 11:49:40 +0900 (78fd671)
+++ tools/travis/install.sh    2013-02-06 13:24:12 +0900 (149bac8)
@@ -25,7 +25,10 @@ export GROONGA_NORMALIZER_MYSQL_MASTER=yes
 curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh
 curl https://raw.github.com/groonga/groonga-normalizer-mysql/master/data/travis/setup.sh | sh
 curl https://raw.github.com/clear-code/cutter/master/data/travis/setup.sh | sh
-sudo apt-get -qq -y install groonga-tokenizer-mecab
+
+if [ ! -f /usr/lib/groonga/plugins/tokenizers/mecab.so ]; then
+    sudo apt-get -qq -y install groonga-tokenizer-mecab
+fi
 
 mkdir -p vendor
 cd vendor
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index