[Groonga-commit] droonga/droonga-http-server at 9ae3c17 [master] Remove epel handling

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Jan 11 18:31:17 JST 2016


KITAITI Makoto	2016-01-11 18:31:17 +0900 (Mon, 11 Jan 2016)

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

  Merged 0f9441b: Merge pull request #13 from KitaitiMakoto/systemd

  Message:
    Remove epel handling

  Modified files:
    install.sh

  Modified: install.sh (+1 -11)
===================================================================
--- install.sh    2016-01-11 18:30:54 +0900 (2deab75)
+++ install.sh    2016-01-11 18:31:17 +0900 (c5c8abb)
@@ -314,17 +314,7 @@ prepare_environment_in_debian() {
 
 # ========================= for CentOS 7 ============================
 prepare_environment_in_centos() {
-  if ! exist_yum_repository epel; then
-    yum -y install epel-release
-    # disable it by default!
-    epel_repo=/etc/yum.repos.d/epel.repo
-    backup=/tmp/$(basename $epel_repo).bak
-    mv $epel_repo $backup
-    cat $backup | $sed -e "s/enabled=1/enabled=0/" \
-      > $epel_repo
-  fi
-
-  yum -y --enablerepo=epel makecache
+  yum -y makecache
   yum -y install curl sudo
 
   if [ "$VERSION" != "release" ]; then
-------------- next part --------------
HTML����������������������������...
Download 



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