mail[Wesnoth-commits] r28715 - /branches/resources/tests.wesnoth.org/install_tests.sh


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by paniemin on August 18, 2008 - 18:00:
Author: suokko
Date: Mon Aug 18 18:00:26 2008
New Revision: 28715

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28715&view=rev
Log:
Made minor improvements to install script

Modified:
    branches/resources/tests.wesnoth.org/install_tests.sh

Modified: branches/resources/tests.wesnoth.org/install_tests.sh
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/tests.wesnoth.org/install_tests.sh?rev=28715&r1=28714&r2=28715&view=diff
==============================================================================
--- branches/resources/tests.wesnoth.org/install_tests.sh (original)
+++ branches/resources/tests.wesnoth.org/install_tests.sh Mon Aug 18 18:00:26 
2008
@@ -28,6 +28,9 @@
 #copy configure from template
 cp include/configuration.php.template include/configuration.php
 cp include/settup.php.template include/settup.php
+# Make files read only
+chmod a-w include/configuration.php include/settup.php
+chmod o-rx include/configuration.php include/settup.php
 
 #Make svn checkout
 svn co svn://svn.gna.org/svn/wesnoth/trunk/ trunk
@@ -43,15 +46,17 @@
 crontab -l > crontab
 echo " 16 *   *   *   *    $CURRENT_PATH/autotester/run_unit_tests.sh" >> 
crontab
 crontab - < crontab
+rm crontab
 
 echo ""
 echo "******* NOTES *****"
 echo "You have to still do a few things before test are working"
 echo " 1. Add database connection information"
 echo "Edit include/settup.php file so that all relevant info to connect"
-echo "to mysql server is present there"
+echo "to mysql server is present there. Remember to make it write-protected."
 echo " 2. Configure website functionality"
-echo "Edit include/configuration.php way that you want website function"
+echo "Edit include/configuration.php way that you want website function."
+echo "Remember to make it write-protected."
 echo " 3. Configure apache"
 echo "edit paths in apache/test_website.conf and copy it to 
/etc/apache2/conf.d/"
 echo " 4. run unit tests to settup database"




Related Messages


Powered by MHonArc, Updated Mon Aug 18 18:21:38 2008