Changeset 12925
- Timestamp:
- 07/09/09 09:10:01 (7 months ago)
- Files:
-
- vtigercrm/branches/5.1/install/CreateConfigFile.php (modified) (1 diff)
- vtigercrm/branches/5.1/install/CreateTables.php (modified) (1 diff)
- vtigercrm/branches/5.1/install/MigrationComplete.php (modified) (1 diff)
- vtigercrm/branches/5.1/install/SetInstallationConfig.php (modified) (2 diffs)
- vtigercrm/branches/5.1/install/welcome.php (modified) (1 diff)
- vtigercrm/branches/5.1/modules/Migration/DBChanges/510rc_to_510.php (added)
- vtigercrm/branches/5.1/modules/Migration/versions.php (modified) (1 diff)
- vtigercrm/branches/5.1/pkg/bin/startvTiger.sh (modified) (1 diff)
- vtigercrm/branches/5.1/pkg/bin/uninstallvtiger.sh (modified) (2 diffs)
- vtigercrm/branches/5.1/vtigerversion.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vtigercrm/branches/5.1/install/CreateConfigFile.php
r12914 r12925 14 14 15 15 // vtiger CRM version number; do not edit! 16 $vtiger_version = "5.1.0 RC";17 $release_date = "Ju ne2009";16 $vtiger_version = "5.1.0"; 17 $release_date = "July 2009"; 18 18 19 19 if (isset($_REQUEST['db_hostname'])) vtigercrm/branches/5.1/install/CreateTables.php
r12906 r12925 172 172 <tr> 173 173 <td align=center class=small> 174 <b>vtigercrm-5.1.0 RCis all set to go!</b>174 <b>vtigercrm-5.1.0 is all set to go!</b> 175 175 <hr noshade size=1> 176 176 <div style="width:100%;padding:10px; "align=left> vtigercrm/branches/5.1/install/MigrationComplete.php
r12911 r12925 107 107 echo "<br><b><font color='red'>We strongly suggest you to rename the install directory.</font></b><br>"; 108 108 } 109 $_SESSION['VTIGER_DB_VERSION']='5.1.0 RC';109 $_SESSION['VTIGER_DB_VERSION']='5.1.0'; 110 110 } 111 111 //populate Calendar data vtigercrm/branches/5.1/install/SetInstallationConfig.php
r12906 r12925 100 100 $db_name = $dbconfig['db_name']; 101 101 else 102 $db_name = 'vtigercrm510 rc';102 $db_name = 'vtigercrm510'; 103 103 104 104 !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables']; … … 143 143 else { 144 144 !isset($_REQUEST['db_hostname']) ? $db_hostname = $hostname: $db_hostname = $_REQUEST['db_hostname']; 145 !isset($_REQUEST['db_name']) ? $db_name = "vtigercrm510 rc" : $db_name = $_REQUEST['db_name'];145 !isset($_REQUEST['db_name']) ? $db_name = "vtigercrm510" : $db_name = $_REQUEST['db_name']; 146 146 !isset($_REQUEST['db_drop_tables']) ? $db_drop_tables = "0" : $db_drop_tables = $_REQUEST['db_drop_tables']; 147 147 !isset($_REQUEST['host_name']) ? $host_name= $hostname : $host_name= $_REQUEST['host_name']; vtigercrm/branches/5.1/install/welcome.php
r12906 r12925 84 84 <tr class='level3'> 85 85 <td valign=top align=left class="small contentDisplay" style="padding-left:20px;height:250px;" colspan=2> 86 <p style='text-align:center;font-weight:bold;'>This configuration wizard helps you install vtigerCRM 5.1.0 RC.</p>86 <p style='text-align:center;font-weight:bold;'>This configuration wizard helps you install vtigerCRM 5.1.0.</p> 87 87 <p><br> 88 88 vtiger CRM is a community-driven, fully open source, CRM software project. <br><br> vtigercrm/branches/5.1/modules/Migration/versions.php
r12906 r12925 21 21 "504rc"=>"5.0.4 RC", 22 22 "504"=>"5.0.4", 23 "510rc"=>"5.1.0 RC", 23 24 ); 24 25 25 $current_version = '510 rc';26 $current_version = '510'; 26 27 27 28 ?> vtigercrm/branches/5.1/pkg/bin/startvTiger.sh
r12877 r12925 112 112 fi 113 113 echo "" 114 echo "Checking if the vtigercrm510 rcdatabase already exists"114 echo "Checking if the vtigercrm510 database already exists" 115 115 echo "" 116 echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm510 rc>/dev/null116 echo "select 1" | ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -D vtigercrm510 >/dev/null 117 117 if [ $? -ne 0 ]; then 118 118 echo "" 119 echo "Database vtigercrm510 rc does not exist. Creating database vtigercrm510rc"119 echo "Database vtigercrm510 does not exist. Creating database vtigercrm510" 120 120 echo "" 121 ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm510 rc"121 ./bin/mysql --user=$mysql_username --password=$mysql_password --port=$mysql_port --socket=$mysql_socket -e "create database if not exists vtigercrm510" 122 122 fi 123 123 vtigercrm/branches/5.1/pkg/bin/uninstallvtiger.sh
r12895 r12925 18 18 if [ ${APACHE_STATUS} == "false" ] 19 19 then 20 diff conf/httpd.conf conf/vtiger_conf/vtigerCRM510 -RC/httpd.conf > /dev/null;20 diff conf/httpd.conf conf/vtiger_conf/vtigerCRM510/httpd.conf > /dev/null; 21 21 if [ $? -eq 0 ] 22 22 then 23 cp conf/vtigerCRMBackup/vtigerCRM510 -RC/httpd.vtiger.crm.conf conf/httpd.conf23 cp conf/vtigerCRMBackup/vtigerCRM510/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/vtigerCRM510 -RC/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/httpd.vtiger.crm.conf. Kindly revert the same manually" 27 27 fi 28 28 29 diff modules/libphp4.so modules/vtiger_modules/vtigerCRM510 -RC/libphp4.so > /dev/null;29 diff modules/libphp4.so modules/vtiger_modules/vtigerCRM510/libphp4.so > /dev/null; 30 30 if [ $? -eq 0 ] 31 31 then 32 cp modules/vtigerCRMBackup/vtigerCRM510 -RC/libphp4.vtiger.crm.so modules/libphp4.so32 cp modules/vtigerCRMBackup/vtigerCRM510/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/vtigerCRM510 -RC/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/libphp4.vtiger.crm.so. Kindly revert the same manually" 36 36 fi 37 37 38 38 cd - 39 39 40 if [ -d $PWD/vtigerCRM510 -RC]; then40 if [ -d $PWD/vtigerCRM510 ]; then 41 41 echo "Uninstalling vtigerCRM from the system..." 42 rm -rf ../conf/vtiger_conf/vtigerCRM510 -RC43 rm -rf ../modules/vtiger_modules/vtigerCRM510 -RC44 rm -rf vtigerCRM510 -RC42 rm -rf ../conf/vtiger_conf/vtigerCRM510 43 rm -rf ../modules/vtiger_modules/vtigerCRM510 44 rm -rf vtigerCRM510 45 45 echo "Uninstallation of vtigerCRM completed" 46 46 cd ${HOME} … … 49 49 else 50 50 cd - 51 if [ -d $PWD/vtigerCRM510 -RC]; then51 if [ -d $PWD/vtigerCRM510 ]; then 52 52 echo "Uninstalling vtigerCRM from the system..." 53 rm -rf ../conf/vtiger_conf/vtigerCRM510 -RC54 rm -rf ../modules/vtiger_modules/vtigerCRM510 -RC55 rm -rf vtigerCRM510 -RC53 rm -rf ../conf/vtiger_conf/vtigerCRM510 54 rm -rf ../modules/vtiger_modules/vtigerCRM510 55 rm -rf vtigerCRM510 56 56 echo "Uninstallation of vtigerCRM completed" 57 57 cd ${HOME} vtigercrm/branches/5.1/vtigerversion.php
r12877 r12925 10 10 $patch_version = ''; 11 11 $modified_database = ''; 12 $vtiger_current_version = '5.1.0 RC';12 $vtiger_current_version = '5.1.0'; 13 13 $_SESSION['vtiger_version'] = $vtiger_current_version; 14 14 ?>
