diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-05-12 02:53:49 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-05-12 02:53:49 +0000 |
commit | d3399fc58159c4a6c69a2a449cbdffb397d93e2d (patch) | |
tree | 236a93886f76de6c1f61ca248bd0fbc44cac3915 /net-mgmt/net-snmp-devel/files | |
parent | d7ecf99e13c2f05c8d5ba6817b4f5becf699da99 (diff) |
Notes
Diffstat (limited to 'net-mgmt/net-snmp-devel/files')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-local:snmpconf | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf b/net-mgmt/net-snmp-devel/files/patch-local:snmpconf index ae537cfcddd8..080b03479000 100644 --- a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf +++ b/net-mgmt/net-snmp-devel/files/patch-local:snmpconf @@ -1,5 +1,5 @@ --- local/snmpconf.orig Wed Feb 11 01:33:42 2004 -+++ local/snmpconf Fri Apr 2 23:42:35 2004 ++++ local/snmpconf Wed May 12 11:51:15 2004 @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!%%PERL%% -w @@ -42,6 +42,15 @@ move ("$opts{'I'}/$i", "$opts{'I'}/$i.bak") if (-f "$opts{'I'}/$i"); if (move ("$didfile{$i}", "$opts{'I'}")) { +@@ -171,7 +171,7 @@ + print ("File $didfile{$i} left in current directory\n"); + } + } elsif ($opts{'p'}) { +- if (! (-d "$ENV{HOME}/.snmp") && ! (mkdir ("$ENV{HOME}/.snmp"))) { ++ if (! (-d "$ENV{HOME}/.snmp") && ! (mkdir("$ENV{HOME}/.snmp", 0777))) { + print "\nCould not create $ENV{HOME}/.snmp directory: $!\n"; + print ("File $didfile{$i} left in current directory\n"); + } @@ -198,7 +198,7 @@ } |