2014-09-18 01:32:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
2014-10-02 10:14:25 +00:00
|
|
|
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
|