Fix wrong epel version for CentOS 7
When installing MapR into a cluster on CentOS 7, the plugin tries to download epel release version 7-5 from the url http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm. This release version is not available anymore and should be replaced with epel-release-7-8 on the url rpm -i http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm Change-Id: I897c06cdefafa5fb6570b0130078931b772e6338 Closes-bug: #1615761
This commit is contained in:
parent
644bea65c9
commit
85f799f538
@ -33,8 +33,8 @@ EOF
|
||||
rpm -q epel-release-6-8 || \
|
||||
rpm -i http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
|
||||
elif [[ $release =~ 7\.[0-9] ]]; then
|
||||
rpm -q epel-release-7-5 || \
|
||||
rpm -i http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
|
||||
rpm -q epel-release-7-8 || \
|
||||
rpm -i http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
|
||||
else
|
||||
echo "Unsupported distribution version"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user