From 17185388270e52e4478d0359c1a83d9aa787e41f Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev <4426533+iliarostovtsev@users.noreply.github.com> Date: Thu, 16 Apr 2020 17:15:02 +0300 Subject: [PATCH] Install "epel-release" package from official repos --- virtualmin-install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index bcd0ab6..e572d98 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -852,9 +852,7 @@ install_virtualmin () { install_epel_release () { if [ -z "$DISABLE_EPEL" ]; then - download "https://dl.fedoraproject.org/pub/epel/epel-release-latest-${os_major_version}.noarch.rpm" - run_ok "rpm -U --replacepkgs --quiet epel-release-latest-${os_major_version}.noarch.rpm" "Installing EPEL release package" - rpm --quiet --import "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-*" 1>/dev/null 2>&1 + run_ok "$install epel-release" "Installing EPEL release package" fi }