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 }