summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2015-02-26 17:35:23 -0500
committerErnie Hershey <ernie.hershey@10gen.com>2015-03-05 18:30:53 -0500
commitbbe711f9199795db87660b2eaad4266875caa5bd (patch)
treee29c6bc6ba82e9e2953c6c98025971e5bf81d6dc
parentd3d6506c0382172d53d4ac42b571a2cebbe2875a (diff)
downloadmongo-bbe711f9199795db87660b2eaad4266875caa5bd.tar.gz
SERVER-17396 Create 7Server symlinks in rhel repos
-rwxr-xr-xbuildscripts/consolidate-repos-enterprise.sh5
-rwxr-xr-xbuildscripts/consolidate-repos.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/buildscripts/consolidate-repos-enterprise.sh b/buildscripts/consolidate-repos-enterprise.sh
index 3e7fa63a506..93e02eee4a0 100755
--- a/buildscripts/consolidate-repos-enterprise.sh
+++ b/buildscripts/consolidate-repos-enterprise.sh
@@ -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"
diff --git a/buildscripts/consolidate-repos.sh b/buildscripts/consolidate-repos.sh
index 71ee58adb60..c0c62b5a87b 100755
--- a/buildscripts/consolidate-repos.sh
+++ b/buildscripts/consolidate-repos.sh
@@ -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"