[Lunar-commits] CVS: moonbase/editors/nano CONFIGURE,1.2,1.3
Auke Kok
sofar at lunar-linux.org
Mon Nov 8 13:28:49 UTC 2004
Update of /var/cvs/lunar/moonbase/editors/nano
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/editors/nano
Modified Files:
CONFIGURE
Log Message:
moving mquery stuff into CONFIGUREs
Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/editors/nano/CONFIGURE,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CONFIGURE 18 Feb 2004 11:49:33 -0000 1.2
+++ CONFIGURE 8 Nov 2004 13:28:16 -0000 1.3
@@ -1,23 +1,3 @@
-if ! grep -q "COLOR" $MODULE_CONFIG; then
- if query "Enable color and syntax highlighting?" y; then
- echo "COLOR=y" >> $MODULE_CONFIG
- else
- echo "COLOR=n" >> $MODULE_CONFIG
- fi
-fi
-
-if ! grep -q "NANORC" $MODULE_CONFIG; then
- if query "Enable use of .nanorc file?" y; then
- echo "NANORC=y" >> $MODULE_CONFIG
- else
- echo "NANORC=n" >> $MODULE_CONFIG
- fi
-fi
-
-if ! grep -q "MULTI" $MODULE_CONFIG; then
- if query "Enable multiple file buffers?" y; then
- echo "MULTI=y" >> $MODULE_CONFIG
- else
- echo "MULTI=n" >> $MODULE_CONFIG
- fi
-fi
+mquery COLOR "Enable color and syntax highlighting?" y
+mquery NANORC "Enable use of .nanorc file?" y
+mquery MULTI "Enable multiple file buffers?" y
More information about the Lunar-commits
mailing list