6ce2c608b2
Other changes are mainly improvements in backend to support more OS, more OS variants or versions.
15 lines
610 B
Text
15 lines
610 B
Text
$NetBSD: patch-ab,v 1.2 2010/12/01 21:00:51 bouyer Exp $
|
||
|
||
--- lib/Ocsinventory/Agent/Config.pm.orig 2010-10-12 20:02:53.000000000 +0200
|
||
+++ lib/Ocsinventory/Agent/Config.pm 2010-12-01 18:21:25.000000000 +0100
|
||
@@ -67,9 +67,7 @@
|
||
|
||
$self->{config}{etcdir} = [];
|
||
|
||
- push (@{$self->{config}{etcdir}}, '/etc/ocsinventory');
|
||
- push (@{$self->{config}{etcdir}}, '/usr/local/etc/ocsinventory');
|
||
- push (@{$self->{config}{etcdir}}, '/etc/ocsinventory-agent');
|
||
+ push (@{$self->{config}{etcdir}}, '@PKG_SYSCONFDIR@');
|
||
push (@{$self->{config}{etcdir}}, $ENV{HOME}.'/.ocsinventory'); # Should I?
|
||
|
||
my $file;
|