0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-27 23:27:11 +01:00

SERVER-17396 Create 7Server symlinks in rhel repos

This commit is contained in:
Ernie Hershey 2015-02-26 17:35:23 -05:00
parent d3d6506c03
commit bbe711f919
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,11 @@ mkdir -p "$repodir/yum/redhat"
# to support different $releasever values in yum repo configurations
#
if [ ! -e "$repodir/yum/redhat/7Server" ]
then
ln -s 7 "$repodir/yum/redhat/7Server"
fi
if [ ! -e "$repodir/yum/redhat/6Server" ]
then
ln -s 6 "$repodir/yum/redhat/6Server"

View File

@ -31,6 +31,11 @@ then
ln -s 6 "$repodir/yum/redhat/6Server"
fi
if [ ! -e "$repodir/yum/redhat/7Server" ]
then
ln -s 7 "$repodir/yum/redhat/7Server"
fi
if [ ! -e "$repodir/yum/redhat/5Server" ]
then
ln -s 5 "$repodir/yum/redhat/5Server"