[Lunar-commits] CVS: moonbase/chat/BitchX CONFIGURE,NONE,1.1

Florin Braescu florin at lunar-linux.org
Thu Jan 29 20:33:09 GMT 2004


Update of /var/cvs/lunar/moonbase/chat/BitchX
In directory dbguin.lunar-linux.org:/tmp/cvs-serv17124

Added Files:
	CONFIGURE 
Log Message:
commit Striker's updates to BitchX.



--- NEW FILE: CONFIGURE ---
#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

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
fi



More information about the Lunar-commits mailing list