##############################################################################################################
##    Script Name    : upgradeSitesFromCMS2_0.sh                                                            ##
##    Author         : Sanjay Khattar                                                                       ##
##    Created on     : 05/30/2013                                                                           ##
##    Usage          : ./upgradeSitesFromCMS2_0.sh                                                          ##
##    Purpose        : Script for upgrading sites only if upgrading from CMS version 2.0.                   ##
##                                                                                                          ##
##############################################################################################################

#!/bin/sh

##
## Merges distribution partners with distribution sites only if upgrading from CMS version 2.0.
##

ACTIVITY="upgrading sites from CMS version 2.0"

logBeginMsg "$ACTIVITY"

homedir=$(pwd) 

cd ./upgrade25/dist/sites/scripts
./upgrade.sh

cd $homedir

logDoneMsg "$ACTIVITY"

