[Lunar-commits] CVS: moonbase/editors/scite CONFIGURE,1.1,1.2

Auke Kok sofar at lunar-linux.org
Wed Nov 3 07:47:26 UTC 2004


Update of /var/cvs/lunar/moonbase/editors/scite
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/editors/scite

Modified Files:
	CONFIGURE 
Log Message:
This is how it should be done


Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/editors/scite/CONFIGURE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CONFIGURE	2 Nov 2004 22:12:38 -0000	1.1
+++ CONFIGURE	3 Nov 2004 07:47:24 -0000	1.2
@@ -1,8 +1,7 @@
-FOO="OLD_FILE_SELECT"
-if ! grep -q "$FOO" $MODULE_CONFIG; then
+if [ -n "$(get_module_config OLD_FILE_SELECT)" ] ; then
   if query "Disable GTK+ 2.4 file select dialog box?" n; then
-     echo "$FOO=y" >> $MODULE_CONFIG
+     set_module_config OLD_FILE_SELECT y
   else
-     echo "$FOO=n" >> $MODULE_CONFIG
+     set_module_config OLD_FILE_SELECT n
   fi
 fi



More information about the Lunar-commits mailing list