pkgsrc/net/ocsinventory-agent/patches/patch-ab
bouyer 6ce2c608b2 Update to 1.1.2.1. Main motivation is to avoid warnings with perl 5.12.
Other changes are mainly improvements in backend to support more OS,
more OS variants or versions.
2010-12-01 21:00:51 +00:00

15 lines
610 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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