Changeset 12895
- Timestamp:
- 06/29/09 07:29:31 (7 months ago)
- Files:
-
- vtigercrm/branches/5.1/pkg/bin/uninstallvtiger.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vtigercrm/branches/5.1/pkg/bin/uninstallvtiger.sh
r9067 r12895 18 18 if [ ${APACHE_STATUS} == "false" ] 19 19 then 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; 21 21 if [ $? -eq 0 ] 22 22 then 23 cp conf/vtigerCRMBackup/vtigerCRM5 /httpd.vtiger.crm.conf conf/httpd.conf23 cp conf/vtigerCRMBackup/vtigerCRM510-RC/httpd.vtiger.crm.conf conf/httpd.conf 24 24 echo "The httpd.conf file successfully reverted" 25 25 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" 27 27 fi 28 28 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; 30 30 if [ $? -eq 0 ] 31 31 then 32 cp modules/vtigerCRMBackup/vtigerCRM5 /libphp4.vtiger.crm.so modules/libphp4.so32 cp modules/vtigerCRMBackup/vtigerCRM510-RC/libphp4.vtiger.crm.so modules/libphp4.so 33 33 echo "The libphp4.so file successfully reverted" 34 34 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" 36 36 fi 37 37 38 38 cd - 39 39 40 if [ -d $PWD/vtigerCRM5 ]; then40 if [ -d $PWD/vtigerCRM510-RC ]; then 41 41 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 45 45 echo "Uninstallation of vtigerCRM completed" 46 46 cd ${HOME} … … 49 49 else 50 50 cd - 51 if [ -d $PWD/vtigerCRM5 ]; then51 if [ -d $PWD/vtigerCRM510-RC ]; then 52 52 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 56 56 echo "Uninstallation of vtigerCRM completed" 57 57 cd ${HOME}
