[Lunar-commits] CVS: moonbase/zbeta/BitchX-cvs CONFIGURE,1.1,1.2
Auke Kok
sofar at lunar-linux.org
Mon Nov 8 13:28:23 UTC 2004
Update of /var/cvs/lunar/moonbase/zbeta/BitchX-cvs
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/zbeta/BitchX-cvs
Modified Files:
CONFIGURE
Log Message:
moving mquery stuff into CONFIGUREs
Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/zbeta/BitchX-cvs/CONFIGURE,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CONFIGURE 29 Jan 2004 20:53:07 -0000 1.1
+++ CONFIGURE 8 Nov 2004 13:28:21 -0000 1.2
@@ -1,46 +1,6 @@
-#FOO=""
-#if ! grep -q "$FOO" $MODULE_CONFIG; then
-# if query "" y; then
-# echo "$FOO=y" >> $MODULE_CONFIG
-# else
-# echo "$FOO=n" >> $MODULE_CONFIG
-# fi
-#fi
-
-FOO="IPV6"
-if ! grep -q "$FOO" $MODULE_CONFIG; then
- if query "Enable IPv6 support?" y; then
- echo "$FOO=y" >> $MODULE_CONFIG
- else
- echo "$FOO=n" >> $MODULE_CONFIG
- fi
-fi
-
-FOO="CDROM"
-if ! grep -q "$FOO" $MODULE_CONFIG; then
- if query "Enable cdrom support?" n; then
- echo "$FOO=y" >> $MODULE_CONFIG
- else
- echo "$FOO=n" >> $MODULE_CONFIG
- fi
-fi
-
-FOO="PLUGINS"
-if ! grep -q "$FOO" $MODULE_CONFIG; then
- if query "Enable plugins?" n; then
- echo "$FOO=y" >> $MODULE_CONFIG
- else
- echo "$FOO=n" >> $MODULE_CONFIG
- fi
-fi
-
+mquery IPV6 "Enable IPv6 support?" y
+mquery CDROM "Enable cdrom support?" n
+mquery PLUGINS "Enable plugins?" n
if module_installed openssl ; then # Ya just never know...
- FOO="SSL"
- if ! grep -q "$FOO" $MODULE_CONFIG; then
- if query "Enable SSL Support?" y; then
- echo "$FOO=y" >> $MODULE_CONFIG
- else
- echo "$FOO=n" >> $MODULE_CONFIG
- fi
- fi
+ mquery SSL "Enable SSL Support?" y
fi
More information about the Lunar-commits
mailing list