[Groonga-commit] droonga/droonga-engine at 943adf2 [master] Install droonga-engine from RubyGems for CentOS correctly

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Fri Sep 12 20:11:45 JST 2014


YUKI Hiroshi	2014-09-12 20:11:45 +0900 (Fri, 12 Sep 2014)

  New Revision: 943adf2caf7300c5ae9bb00139ffe6f6e0157159
  https://github.com/droonga/droonga-engine/commit/943adf2caf7300c5ae9bb00139ffe6f6e0157159

  Message:
    Install droonga-engine from RubyGems for CentOS correctly

  Modified files:
    install.sh

  Modified: install.sh (+9 -2)
===================================================================
--- install.sh    2014-09-12 19:48:20 +0900 (2c628ae)
+++ install.sh    2014-09-12 20:11:45 +0900 (43c4ea6)
@@ -130,8 +130,15 @@ install_in_debian() {
 install_in_centos() {
   yum update
   yum -y groupinstall development
-  yum -y install ruby-devel git
-  install_master
+  yum -y install ruby-devel
+  if [ "$INSTALL_VERSION" = "master" ]; then
+    echo "Installing droonga-engine from the git repository..."
+    yum -y install git
+    install_master
+  else
+    echo "Installing droonga-engine from RubyGems..."
+    gem install droonga-engine --no-rdoc --no-ri
+  fi
 
   prepare_user
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index