[Vtigercrm-commits] [vtiger-commits] r4194 - 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
Wed Mar 15 05:53:10 EST 2006
Author: saraj
Date: Wed Mar 15 03:53:04 2006
New Revision: 4194
Log:
changes made for 5 beta
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 Wed Mar 15 03:53:04 2006
@@ -43,18 +43,18 @@
echo ""
echo "making an attempt to kill any existing vtigercrm service"
echo ""
-bin\apache -k stop -n vtigercrm5_alpha
-bin\apache -k uninstall -n vtigercrm5_alpha
+bin\apache -k stop -n vtigercrm5_beta
+bin\apache -k uninstall -n vtigercrm5_beta
echo ""
echo ""
-echo "installing vtigercrm5_alpha apache service"
+echo "installing vtigercrm5_beta apache service"
echo ""
echo ""
-bin\apache -k install -n vtigercrm5_alpha -f conf\httpd.conf
+bin\apache -k install -n vtigercrm5_beta -f conf\httpd.conf
echo ""
-echo "Starting vtigercrm5_alpha apache service"
+echo "Starting vtigercrm5_beta apache service"
echo ""
-bin\apache -n vtigercrm5_alpha -k start
+bin\apache -n vtigercrm5_beta -k start
IF ERRORLEVEL 1 goto stopservice
goto checkmysql
@@ -112,27 +112,27 @@
:checkdatabase
echo ""
-echo "check to see if vtigercrm5_alpha database already exists"
+echo "check to see if vtigercrm5_beta database already exists"
echo ""
-mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm5_alpha'" | "%WINDIR%\system32\find.exe" "vtigercrm5_alpha" > NUL
+mysql --port=%mysql_port% --user=%mysql_username% --password=%mysql_password% -e "show databases like 'vtigercrm5_beta'" | "%WINDIR%\system32\find.exe" "vtigercrm5_beta" > NUL
IF ERRORLEVEL 1 goto dbnotexists
echo ""
-ECHO "vtigercrm5_alpha database exists"
+ECHO "vtigercrm5_beta database exists"
echo ""
goto end
:dbnotexists
echo ""
-ECHO "vtigercrm5_alpha database does not exist"
+ECHO "vtigercrm5_beta database does not exist"
echo ""
echo %cd%
echo ""
-echo "Proceeding to create database vtigercrm5_alpha and populate the same"
+echo "Proceeding to create database vtigercrm5_beta and populate the same"
echo ""
-mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm5_alpha"
+mysql --user=%mysql_username% --password=%mysql_password% --port=%mysql_port% -e "create database if not exists vtigercrm5_beta"
echo ""
-echo "vtigercrm5_alpha database created"
+echo "vtigercrm5_beta 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 Wed Mar 15 03:53:04 2006
@@ -111,20 +111,20 @@
fi
echo ""
-echo "Checking if the vtigercrm5_alpha database already exists"
+echo "Checking if the vtigercrm5_beta database already exists"
echo ""
-echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm5_alpha >/dev/null
+echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm5_beta >/dev/null
if [ $? -ne 0 ]; then
echo ""
- echo "Database vtigercrm5_alpha does not exist. Creating database vtigercrm5_alpha"
+ echo "Database vtigercrm5_beta does not exist. Creating database vtigercrm5_beta"
echo ""
- ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm5_alpha"
+ ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm5_beta"
fi
host=`hostname`
echo "*****************************************************************************************************"
if [ $apache_bundled == 'false' ];then
- echo "Please access the product at http://${host}:<apache port>/vtigerCRM5_alpha1/vtigerCRM"
+ echo "Please access the product at http://${host}:<apache port>/vtigerCRM5_beta/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 Wed Mar 15 03:53:04 2006
@@ -32,11 +32,11 @@
cd /d %apache_dir%
rem shut down apache
echo ""
-echo "stopping vtigercrm4_5 apache service"
+echo "stopping vtigercrm5_beta apache service"
echo ""
bin\apache -n vtigercrm4_5 -k stop
echo ""
-echo "uninstalling vtigercrm4_5 apache service"
+echo "uninstalling vtigercrm5_beta apache service"
echo ""
bin\apache -k uninstall -n vtigercrm4_5
rem .\bin\ShutdownApache.exe logs\httpd.pid
Modified: vtigercrm/trunk/pkg/bin/uninstallvtiger.sh
==============================================================================
--- vtigercrm/trunk/pkg/bin/uninstallvtiger.sh (original)
+++ vtigercrm/trunk/pkg/bin/uninstallvtiger.sh Wed Mar 15 03:53:04 2006
@@ -17,42 +17,42 @@
cd ${PREV_DIR}
if [ ${APACHE_STATUS} == "false" ]
then
- diff conf/httpd.conf conf/vtiger_conf/vtigerCRM5_alpha1/httpd.conf > /dev/null;
+ diff conf/httpd.conf conf/vtiger_conf/vtigerCRM5_beta/httpd.conf > /dev/null;
if [ $? -eq 0 ]
then
- cp conf/vtigerCRMBackup/vtigerCRM5_alpha1/httpd.vtiger.crm.conf conf/httpd.conf
+ cp conf/vtigerCRMBackup/vtigerCRM5_beta/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_alpha1/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_beta/httpd.vtiger.crm.conf. Kindly revert the same manually"
fi
- diff modules/libphp4.so modules/vtiger_modules/vtigerCRM5_alpha1/libphp4.so > /dev/null;
+ diff modules/libphp4.so modules/vtiger_modules/vtigerCRM5_beta/libphp4.so > /dev/null;
if [ $? -eq 0 ]
then
- cp modules/vtigerCRMBackup/vtigerCRM5_alpha1/libphp4.vtiger.crm.so modules/libphp4.so
+ cp modules/vtigerCRMBackup/vtigerCRM5_beta/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_alpha1/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_beta/libphp4.vtiger.crm.so. Kindly revert the same manually"
fi
cd -
- if [ -d $PWD/vtigerCRM5_alpha1 ]; then
+ if [ -d $PWD/vtigerCRM5_beta ]; then
echo "Uninstalling vtigerCRM from the system..."
- rm -rf ../conf/vtiger_conf/vtigerCRM5_alpha1
- rm -rf ../modules/vtiger_modules/vtigerCRM5_alpha1
- rm -rf vtigerCRM5_alpha1
+ rm -rf ../conf/vtiger_conf/vtigerCRM5_beta
+ rm -rf ../modules/vtiger_modules/vtigerCRM5_beta
+ rm -rf vtigerCRM5_beta
echo "Uninstallation of vtigerCRM completed"
cd ${HOME}
fi
else
cd -
- if [ -d $PWD/vtigerCRM5_alpha1 ]; then
+ if [ -d $PWD/vtigerCRM5_beta ]; then
echo "Uninstalling vtigerCRM from the system..."
- rm -rf ../conf/vtiger_conf/vtigerCRM5_alpha1
- rm -rf ../modules/vtiger_modules/vtigerCRM5_alpha1
- rm -rf vtigerCRM5_alpha1
+ rm -rf ../conf/vtiger_conf/vtigerCRM5_beta
+ rm -rf ../modules/vtiger_modules/vtigerCRM5_beta
+ rm -rf vtigerCRM5_beta
echo "Uninstallation of vtigerCRM completed"
cd ${HOME}
fi
More information about the vtigercrm-commits
mailing list