[Vtigercrm-commits] [vtiger-commits] r9067 - in /vtigercrm/trunk/pkg/bin: startvTiger.bat startvTiger.sh stopvTiger.bat uninstallvtiger.sh

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Aug 22 08:39:16 EDT 2006


Author: saraj
Date: Tue Aug 22 06:39:10 2006
New Revision: 9067

Log:
removed rc

Modified:
    vtigercrm/trunk/pkg/bin/startvTiger.bat
    vtigercrm/trunk/pkg/bin/startvTiger.sh
    vtigercrm/trunk/pkg/bin/stopvTiger.bat
    vtigercrm/trunk/pkg/bin/uninstallvtiger.sh

Modified: vtigercrm/trunk/pkg/bin/startvTiger.bat
==============================================================================
--- vtigercrm/trunk/pkg/bin/startvTiger.bat (original)
+++ vtigercrm/trunk/pkg/bin/startvTiger.bat Tue Aug 22 06:39:10 2006
@@ -43,23 +43,23 @@
 echo ""
 echo "making an attempt to kill any existing vtigercrm service"
 echo ""
-bin\apache -k stop -n vtigercrm5_rc
-bin\apache -k uninstall -n vtigercrm5_rc
+bin\apache -k stop -n vtigercrm5_0
+bin\apache -k uninstall -n vtigercrm5_0
 echo "Uninstalling apache service again for confirmation after sleeping for 10 seconds"
 echo ""
 %SLEEP_STR% -n 10 127.0.0.1>nul
-bin\apache -k stop -n vtigercrm5_rc
-bin\apache -k uninstall -n vtigercrm5_rc 
+bin\apache -k stop -n vtigercrm5_0
+bin\apache -k uninstall -n vtigercrm5_0 
 echo ""
 echo ""
-echo "Installing  vtigercrm5_rc apache service after sleeping for 10 seconds"
+echo "Installing  vtigercrm5_0 apache service after sleeping for 10 seconds"
 echo ""
 %SLEEP_STR% -n 10 127.0.0.1>nul
-bin\apache -k install -n vtigercrm5_rc -f conf\httpd.conf
+bin\apache -k install -n vtigercrm5_0 -f conf\httpd.conf
 echo ""
-echo "Starting  vtigercrm5_rc apache service"
+echo "Starting  vtigercrm5_0 apache service"
 echo ""
-bin\apache -n vtigercrm5_rc -k start
+bin\apache -n vtigercrm5_0 -k start
 IF ERRORLEVEL 1 goto stopservice
 goto checkmysql
 
@@ -117,27 +117,27 @@
 
 :checkdatabase
 echo ""
-echo "check to see if vtigercrm5_rc database already exists"
+echo "check to see if vtigercrm5_0 database already exists"
 echo ""
-mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm5_rc'" | "%WINDIR%\system32\find.exe" "vtigercrm5_rc" > NUL
+mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm5_0'" | "%WINDIR%\system32\find.exe" "vtigercrm5_0" > NUL
 IF ERRORLEVEL 1 goto dbnotexists
 echo ""
-ECHO  "vtigercrm5_rc database exists"
+ECHO  "vtigercrm5_0 database exists"
 echo ""
 goto end
 
 
 :dbnotexists
 echo ""
-ECHO "vtigercrm5_rc database does not exist"
+ECHO "vtigercrm5_0 database does not exist"
 echo ""
 echo %cd%
 echo ""
-echo "Proceeding to create database vtigercrm5_rc and populate the same"
+echo "Proceeding to create database vtigercrm5_0 and populate the same"
 echo ""
-mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm5_rc"
+mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm5_0"
 echo ""
-echo "vtigercrm5_rc database created"
+echo "vtigercrm5_0 database created"
 echo ""
 goto end
 

Modified: vtigercrm/trunk/pkg/bin/startvTiger.sh
==============================================================================
--- vtigercrm/trunk/pkg/bin/startvTiger.sh (original)
+++ vtigercrm/trunk/pkg/bin/startvTiger.sh Tue Aug 22 06:39:10 2006
@@ -111,20 +111,20 @@
 		
 fi
 echo ""
-echo "Checking if the vtigercrm5_rc database already exists"
+echo "Checking if the vtigercrm5_0 database already exists"
 echo ""
-echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -D vtigercrm5_rc >/dev/null
+echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -D vtigercrm5_0 >/dev/null
 if [ $? -ne 0 ]; then
 	echo ""
-	echo "Database vtigercrm5_rc does not exist. Creating database vtigercrm5_rc"
+	echo "Database vtigercrm5_0 does not exist. Creating database vtigercrm5_0"
 	echo ""
-	./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm5_rc"
+	./bin/mysql --user=$mysql_username --password=$mysql_password  --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm5_0"
 fi
 
 host=`hostname`
 echo "*****************************************************************************************************"
 if [ $apache_bundled == 'false' ];then
-	echo "Please access the product at http://${host}:<apache port>/vtigerCRM5_rc/vtigerCRM"
+	echo "Please access the product at http://${host}:<apache port>/vtigerCRM5/vtigerCRM"
 else
 	echo "Please access the product at http://${host}:<apache port>"
 echo "*****************************************************************************************************"

Modified: vtigercrm/trunk/pkg/bin/stopvTiger.bat
==============================================================================
--- vtigercrm/trunk/pkg/bin/stopvTiger.bat (original)
+++ vtigercrm/trunk/pkg/bin/stopvTiger.bat Tue Aug 22 06:39:10 2006
@@ -32,13 +32,13 @@
 cd /d %apache_dir%
 rem shut down apache
 echo ""
-echo "stopping vtigercrm5_rc apache service"
+echo "stopping vtigercrm5_0 apache service"
 echo ""
-bin\apache -n vtigercrm5_rc -k stop
+bin\apache -n vtigercrm5_0 -k stop
 echo ""
-echo "uninstalling vtigercrm5_rc apache service"
+echo "uninstalling vtigercrm5_0 apache service"
 echo ""
-bin\apache -k uninstall -n vtigercrm5_rc
+bin\apache -k uninstall -n vtigercrm5_0
 rem .\bin\ShutdownApache.exe logs\httpd.pid
 goto StopMySQL
 

Modified: vtigercrm/trunk/pkg/bin/uninstallvtiger.sh
==============================================================================
--- vtigercrm/trunk/pkg/bin/uninstallvtiger.sh (original)
+++ vtigercrm/trunk/pkg/bin/uninstallvtiger.sh Tue Aug 22 06:39:10 2006
@@ -17,42 +17,42 @@
 cd ${PREV_DIR}
 if [ ${APACHE_STATUS} == "false" ]
 then
-	diff conf/httpd.conf conf/vtiger_conf/vtigerCRM5_rc/httpd.conf > /dev/null;
+	diff conf/httpd.conf conf/vtiger_conf/vtigerCRM5/httpd.conf > /dev/null;
 	if [ $? -eq 0 ]
 	then
-		cp conf/vtigerCRMBackup/vtigerCRM5_rc/httpd.vtiger.crm.conf conf/httpd.conf
+		cp conf/vtigerCRMBackup/vtigerCRM5/httpd.vtiger.crm.conf conf/httpd.conf
 		echo "The httpd.conf file successfully reverted"
 	else
-		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_rc/httpd.vtiger.crm.conf. Kindly revert the same manually"
+		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"
 	fi
 
-	diff modules/libphp4.so modules/vtiger_modules/vtigerCRM5_rc/libphp4.so > /dev/null;
+	diff modules/libphp4.so modules/vtiger_modules/vtigerCRM5/libphp4.so > /dev/null;
 	if [ $? -eq 0 ]
         then
-		cp modules/vtigerCRMBackup/vtigerCRM5_rc/libphp4.vtiger.crm.so modules/libphp4.so
+		cp modules/vtigerCRMBackup/vtigerCRM5/libphp4.vtiger.crm.so modules/libphp4.so
 		echo "The libphp4.so file successfully reverted"
 	else
-		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_rc/libphp4.vtiger.crm.so. Kindly revert the same manually"
+		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"
 	fi
 	
 	cd -
 	
-	if [ -d $PWD/vtigerCRM5_rc ]; then
+	if [ -d $PWD/vtigerCRM5 ]; then
 		echo "Uninstalling vtigerCRM from the system..."
-		rm -rf ../conf/vtiger_conf/vtigerCRM5_rc
-		rm -rf ../modules/vtiger_modules/vtigerCRM5_rc
-		rm -rf vtigerCRM5_rc
+		rm -rf ../conf/vtiger_conf/vtigerCRM5
+		rm -rf ../modules/vtiger_modules/vtigerCRM5
+		rm -rf vtigerCRM5
 		echo "Uninstallation of vtigerCRM completed"
 		cd ${HOME}
 	fi
 
 else
 	cd -
-	if [ -d $PWD/vtigerCRM5_rc ]; then
+	if [ -d $PWD/vtigerCRM5 ]; then
                 echo "Uninstalling vtigerCRM from the system..."
-		rm -rf ../conf/vtiger_conf/vtigerCRM5_rc
-                rm -rf ../modules/vtiger_modules/vtigerCRM5_rc
-                rm -rf vtigerCRM5_rc
+		rm -rf ../conf/vtiger_conf/vtigerCRM5
+                rm -rf ../modules/vtiger_modules/vtigerCRM5
+                rm -rf vtigerCRM5
                 echo "Uninstallation of vtigerCRM completed"
                 cd ${HOME}
         fi





More information about the vtigercrm-commits mailing list