9d934a6e35
XXX this really should have an rc.d script and INSTALL/DEINSTALL scripts/OWN_DIRS and/or REQD_DIRS. Volunteers? ;) bump rev.
22 lines
724 B
Text
22 lines
724 B
Text
$NetBSD: patch-aa,v 1.4 2008/06/13 05:57:07 bjs Exp $
|
|
|
|
--- cdvpasswd.orig 2005-11-20 19:33:02.000000000 -0500
|
|
+++ cdvpasswd
|
|
@@ -36,7 +36,7 @@ def run(args):
|
|
if platform == 'win32':
|
|
noconfig = True
|
|
else:
|
|
- config_file = '/etc/cdvserver.conf'
|
|
+ config_file = '@PKG_SYSCONFDIR@/cdvserver.conf'
|
|
|
|
# do a first pass of the command line to pick up an alternate config
|
|
for (opt, arg) in optlist:
|
|
@@ -51,7 +51,7 @@ def run(args):
|
|
if platform == 'win32':
|
|
config.set('control', 'datadir', getcwd())
|
|
else:
|
|
- config.set('control', 'datadir', '/var/lib/cdvserver')
|
|
+ config.set('control', 'datadir', '@CODEVILLE_DATADIR@')
|
|
|
|
if not noconfig:
|
|
try:
|