svn commit: r350763 - head/net-mgmt/net-snmp
Ryan Steinmetz
zi at FreeBSD.org
Thu Apr 10 22:02:40 UTC 2014
FYI This is incorrect, per bdrewery. The correct syntax is:
@unexec rmdir /var/dir 2>/dev/null || true
-r
On (04/10/14 10:26), Tijl Coosemans wrote:
>On Thu, 10 Apr 2014 02:41:13 +0000 (UTC) Ryan Steinmetz wrote:
>> @@ -622,3 +621,4 @@ sbin/snmptrapd
>> @cwd /
>> @exec mkdir -p var/agentx
>> @unexec rmdir var/agentx 2>/dev/null || true
>> + at dirrmtry /var/agentx
>
>@dirrmtry doesn't work with absolute paths.
>
>You can replace these 4 lines with:
>
>@exec mkdir -p /var/agentx
>@unexec rm -d /var/agentx 2>/dev/null || true
>
>This should work with both the old pkg_install and the new pkg.
--
Ryan Steinmetz
PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7
More information about the svn-ports-all
mailing list