Merge "Fix wrong epel version for CentOS 7"
This commit is contained in:
commit
bf2965ca3e
@ -33,8 +33,8 @@ EOF
|
|||||||
rpm -q epel-release-6-8 || \
|
rpm -q epel-release-6-8 || \
|
||||||
rpm -i http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
|
rpm -i http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
|
||||||
elif [[ $release =~ 7\.[0-9] ]]; then
|
elif [[ $release =~ 7\.[0-9] ]]; then
|
||||||
rpm -q epel-release-7-5 || \
|
rpm -q epel-release-7-8 || \
|
||||||
rpm -i http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
|
rpm -i http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
|
||||||
else
|
else
|
||||||
echo "Unsupported distribution version"
|
echo "Unsupported distribution version"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user