summaryrefslogtreecommitdiff
path: root/net/ocsinventory-agent/patches/patch-ab
blob: 64bdc50257709e1686a197d09d01dde129917e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2009/08/16 18:25:53 bouyer Exp $

--- lib/Ocsinventory/Agent/Config.pm.orig	2009-03-22 20:11:09.000000000 +0100
+++ lib/Ocsinventory/Agent/Config.pm	2009-06-25 15:14:11.000000000 +0200
@@ -8,9 +8,7 @@
 
   @{$config->{etcdir}} = ();
 
-  push (@{$config->{etcdir}}, '/etc/ocsinventory');
-  push (@{$config->{etcdir}}, '/usr/local/etc/ocsinventory');
-  push (@{$config->{etcdir}}, '/etc/ocsinventory-agent');
+  push (@{$config->{etcdir}}, '@PKG_SYSCONFDIR@');
   push (@{$config->{etcdir}}, $ENV{HOME}.'/.ocsinventory');
 
   if (!$file || !-f $file) {