pkgsrc/net/ocsinventory-agent/patches/patch-ab

16 lines
610 B
Text
Raw Normal View History

$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;