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:
parent
d3d6506c03
commit
bbe711f919
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user