[Fusionforge-commits] r14105 - branches/Branch_5_1/src

Olivier Berger olberger at fusionforge.org
Fri Aug 12 12:53:31 CEST 2011


Author: olberger
Date: 2011-08-12 12:53:31 +0200 (Fri, 12 Aug 2011)
New Revision: 14105

Modified:
   branches/Branch_5_1/src/setup
Log:
Make it explicit that editing the file is not enough

Modified: branches/Branch_5_1/src/setup
===================================================================
--- branches/Branch_5_1/src/setup	2011-08-12 10:53:25 UTC (rev 14104)
+++ branches/Branch_5_1/src/setup	2011-08-12 10:53:31 UTC (rev 14105)
@@ -203,7 +203,8 @@
 	# Here is the fun
 	# This create a default conf file in $1 
 	tmpfile=$1.$$computedefault
-	echo "cat >$1<<-EOF" > $tmpfile
+	echo 'echo "# do not forget to run /usr/sbin/fusionforge-config after changing contents of this file" >$1' > $tmpfile
+        echo "cat >>$1<<-EOF" >> $tmpfile
 	cat $0 | grep "^	DEFAULT" | sed 's/	DEFAULT\(.[^=]*\)=.*/\1=\${\1:-\$DEFAULT\1}/' >> $tmpfile
 	echo 'EOF' >> $tmpfile
 	. $tmpfile




More information about the Fusionforge-commits mailing list