Skip to content

Commit

Permalink
Merge pull request #32 from iliarostovtsev/patch-2
Browse files Browse the repository at this point in the history
Install "epel-release" package from official repos
  • Loading branch information
swelljoe authored May 3, 2020
2 parents 70d6a82 + 1718538 commit 2e41004
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2e41004

Please sign in to comment.