[Lunar-commits] CVS: moonbase/chat/BitchX CONFIGURE,1.3,1.4

Auke Kok sofar at lunar-linux.org
Mon Nov 8 13:28:48 UTC 2004


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

Modified Files:
	CONFIGURE 
Log Message:
moving mquery stuff into CONFIGUREs

Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/chat/BitchX/CONFIGURE,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CONFIGURE	29 Jan 2004 20:46:09 -0000	1.3
+++ CONFIGURE	8 Nov 2004 13:28:16 -0000	1.4
@@ -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