Changeset 12895

Show
Ignore:
Timestamp:
06/29/09 07:29:31 (9 months ago)
Author:
asha
Message:

Updated Version to 5.1.0 RC in Uninstall.sh script - Varma

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vtigercrm/branches/5.1/pkg/bin/uninstallvtiger.sh

    r9067 r12895  
    1818if [ ${APACHE_STATUS} == "false" ] 
    1919then 
    20         diff conf/httpd.conf conf/vtiger_conf/vtigerCRM5/httpd.conf > /dev/null; 
     20        diff conf/httpd.conf conf/vtiger_conf/vtigerCRM510-RC/httpd.conf > /dev/null; 
    2121        if [ $? -eq 0 ] 
    2222        then 
    23                 cp conf/vtigerCRMBackup/vtigerCRM5/httpd.vtiger.crm.conf conf/httpd.conf 
     23                cp conf/vtigerCRMBackup/vtigerCRM510-RC/httpd.vtiger.crm.conf conf/httpd.conf 
    2424                echo "The httpd.conf file successfully reverted" 
    2525        else 
    26                 echo "The httpd.conf file under apache/conf has been edited since installation. Hence the uninstallation will not revert the httpd.conf file. The original httpd.conf file is present in <apache home>/conf/vtigerCRMBackup/vtigerCRM5/httpd.vtiger.crm.conf. Kindly revert the same manually" 
     26                echo "The httpd.conf file under apache/conf has been edited since installation. Hence the uninstallation will not revert the httpd.conf file. The original httpd.conf file is present in <apache home>/conf/vtigerCRMBackup/vtigerCRM510-RC/httpd.vtiger.crm.conf. Kindly revert the same manually" 
    2727        fi 
    2828 
    29         diff modules/libphp4.so modules/vtiger_modules/vtigerCRM5/libphp4.so > /dev/null; 
     29        diff modules/libphp4.so modules/vtiger_modules/vtigerCRM510-RC/libphp4.so > /dev/null; 
    3030        if [ $? -eq 0 ] 
    3131        then 
    32                 cp modules/vtigerCRMBackup/vtigerCRM5/libphp4.vtiger.crm.so modules/libphp4.so 
     32                cp modules/vtigerCRMBackup/vtigerCRM510-RC/libphp4.vtiger.crm.so modules/libphp4.so 
    3333                echo "The libphp4.so file successfully reverted" 
    3434        else 
    35                 echo "The libphp4.so file under apache/modules has been edited since installation. Hence the uninstallation will not revert the libphp4.so file. The original libphp4.so file is present in <apache home>/modules/vtigerCRMBackup/vtigerCRM5/libphp4.vtiger.crm.so. Kindly revert the same manually" 
     35                echo "The libphp4.so file under apache/modules has been edited since installation. Hence the uninstallation will not revert the libphp4.so file. The original libphp4.so file is present in <apache home>/modules/vtigerCRMBackup/vtigerCRM510-RC/libphp4.vtiger.crm.so. Kindly revert the same manually" 
    3636        fi 
    3737         
    3838        cd - 
    3939         
    40         if [ -d $PWD/vtigerCRM5 ]; then 
     40        if [ -d $PWD/vtigerCRM510-RC ]; then 
    4141                echo "Uninstalling vtigerCRM from the system..." 
    42                 rm -rf ../conf/vtiger_conf/vtigerCRM5 
    43                 rm -rf ../modules/vtiger_modules/vtigerCRM5 
    44                 rm -rf vtigerCRM5 
     42                rm -rf ../conf/vtiger_conf/vtigerCRM510-RC 
     43                rm -rf ../modules/vtiger_modules/vtigerCRM510-RC 
     44                rm -rf vtigerCRM510-RC 
    4545                echo "Uninstallation of vtigerCRM completed" 
    4646                cd ${HOME} 
     
    4949else 
    5050        cd - 
    51         if [ -d $PWD/vtigerCRM5 ]; then 
     51        if [ -d $PWD/vtigerCRM510-RC ]; then 
    5252                echo "Uninstalling vtigerCRM from the system..." 
    53                 rm -rf ../conf/vtiger_conf/vtigerCRM5 
    54                 rm -rf ../modules/vtiger_modules/vtigerCRM5 
    55                 rm -rf vtigerCRM5 
     53                rm -rf ../conf/vtiger_conf/vtigerCRM510-RC 
     54                rm -rf ../modules/vtiger_modules/vtigerCRM510-RC 
     55                rm -rf vtigerCRM510-RC 
    5656                echo "Uninstallation of vtigerCRM completed" 
    5757                cd ${HOME}