[Groonga-commit] droonga/droonga-http-server at ace2a3a [master] Simplify

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Sep 17 10:18:01 JST 2014


YUKI Hiroshi	2014-09-17 10:18:01 +0900 (Wed, 17 Sep 2014)

  New Revision: ace2a3aaad2097e03ced62ed8f066f83d480d9ba
  https://github.com/droonga/droonga-http-server/commit/ace2a3aaad2097e03ced62ed8f066f83d480d9ba

  Message:
    Simplify

  Modified files:
    install.sh

  Modified: install.sh (+1 -1)
===================================================================
--- install.sh    2014-09-16 19:15:47 +0900 (bef1126)
+++ install.sh    2014-09-17 10:18:01 +0900 (d05e31e)
@@ -238,7 +238,7 @@ install_in_debian() {
 }
 
 install_in_centos() {
-  if [ $(yum repolist | grep epel | wc -l) -lt 1 ]; then
+  if ! yum repolist | grep --quiet epel; then
     # epel-release is not installed, so install it.
     yum -y install epel-release
     # however, we should disable it by default because.
-------------- next part --------------
HTML����������������������������...
Download 



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