##############################################################################################################
##    Script Name    : upgradePMMTableConfigFromCMS2_0.sh                                                   ##
##    Author         : Sanjay Khattar                                                                       ##
##    Created on     : 05/28/2013                                                                           ##
##    Usage          : ./upgradePMMTableConfigFromCMS2_0.sh                                                 ##
##    Purpose        : Script for upgrading cms/conf/pmm/table-config.xml                                   ##
##                         only if upgrading from CMS version 2.0.                                          ##
##                         NOTE: This script is not used because pmm/table-config.xml mostly contains       ##
##                             static info and so when upgrading from 2.0 to 3.1                            ##
##                             we can use the 3.1 pmm/table-config.xml itself.                              ##
##############################################################################################################

#!/bin/sh

##
## Upgrades cms/conf/pmm/table-config.xml for series only if upgrading from CMS version 2.0.
##

ACTIVITY="upgrading pmm/table-config.xml for CMS version 2.0."

logBeginMsg "$ACTIVITY"

homedir=$(pwd) 

cd ./upgrade25/dist/plugin
./upgradeTableConfig.sh

cd $homedir

logDoneMsg "$ACTIVITY"
