[milter-manager-commit] milter-manager/milter-manager at 64cd7d3 [master] package yum: Use yum instead of rpm

Back to archive index

Kenji Okimoto null+****@clear*****
Mon Jul 2 17:01:59 JST 2018


Kenji Okimoto	2018-07-02 17:01:59 +0900 (Mon, 02 Jul 2018)

  New Revision: 64cd7d38e30a510848f72ac3ef6bc26b58fafd99
  https://github.com/milter-manager/milter-manager/commit/64cd7d38e30a510848f72ac3ef6bc26b58fafd99

  Message:
    package yum: Use yum instead of rpm

  Modified files:
    package/yum/build-rpm.sh

  Modified: package/yum/build-rpm.sh (+1 -3)
===================================================================
--- package/yum/build-rpm.sh    2018-07-02 16:09:19 +0900 (f909093d)
+++ package/yum/build-rpm.sh    2018-07-02 17:01:59 +0900 (f64a9364)
@@ -103,9 +103,7 @@ if test "$USE_EPEL" = "yes"; then
             run yum update ${yum_options} -y
             run yum install ${yum_options} -y wget pyliblzma
             run yum ${yum_options} clean packages
-            run wget $epel_url
-            run rpm -Uvh $(basename $epel_url)
-            run rm $(basename $epel_url)
+            run yum install -y $epel_url
             sed -i'' -e 's/enabled = 1/enabled = 0/g' /etc/yum.repos.d/epel.repo
         fi
     fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.osdn.me/mailman/archives/milter-manager-commit/attachments/20180702/2a5313bb/attachment-0001.htm 



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