if [ ! -d $CorporationName_DIR ]; then
mkdir $CorporationName_DIR
fi
if [ ! -d $appname_INSTALL_DIR ]; then
mkdir $appname_INSTALL_DIR
fi
if [ -d $appname_INSTALL_DIR ]; then
if [ -f $appname_INSTALL_DIR/mainapp.conf ]; then
mv $appname_INSTALL_DIR/mainapp.conf $appname_INSTALL_DIR/mainapp.conf.rpmsave
fi
if [ -f $appname_INSTALL_DIR/mainappdaemon.conf ]; then
mv $appname_INSTALL_DIR/mainappdaemon.conf $appname_INSTALL_DIR/mainappdaemon.conf.rpmsave
fi
fi