From bbe711f9199795db87660b2eaad4266875caa5bd Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Thu, 26 Feb 2015 17:35:23 -0500 Subject: [PATCH] SERVER-17396 Create 7Server symlinks in rhel repos --- buildscripts/consolidate-repos-enterprise.sh | 5 +++++ buildscripts/consolidate-repos.sh | 5 +++++ 2 files changed, 10 insertions(+) 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"