[Groonga-commit] droonga/droonga-engine at af615f6 [master] Use groonga repository correctly for non-initial case

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Sep 29 10:48:18 JST 2014


YUKI Hiroshi	2014-09-29 10:48:18 +0900 (Mon, 29 Sep 2014)

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

  Message:
    Use groonga repository correctly for non-initial case

  Modified files:
    install.sh

  Modified: install.sh (+2 -3)
===================================================================
--- install.sh    2014-09-29 10:45:46 +0900 (934f511)
+++ install.sh    2014-09-29 10:48:18 +0900 (c2ea0fd)
@@ -269,11 +269,10 @@ prepare_environment_in_centos() {
     mv $groonga_repo $backup
     cat $backup | $sed -e "s/enabled=1/enabled=0/" \
       > $groonga_repo
-
-    use_groonga_package=yes
   fi
 
-  if [ "$use_groonga_package" = "yes" ]; then
+  if exist_yum_repository groonga; then
+    use_groonga_package=yes
     yum --enablerepo=groonga update
   else
     yum update
-------------- next part --------------
HTML����������������������������...
Download 



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