Merge "Ensure epel7 is installed only on rhel7/centos7"
This commit is contained in:
commit
3180c63338
@ -2,4 +2,8 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
|
||||
if [[ "rhel7 centos7" =~ "$DISTRO_NAME" ]]; then
|
||||
yum install -y http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
|
||||
elif [[ "rhel" =~ "$DISTRO_NAME" ]]; then
|
||||
yum install -y http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user