Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 10:26:30 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Ryan Steinmetz <zi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r350763 - head/net-mgmt/net-snmp
Message-ID:  <20140410102630.65029403@kalimero.tijl.coosemans.org>
In-Reply-To: <201404100241.s3A2fDrS077880@svn.freebsd.org>
References:  <201404100241.s3A2fDrS077880@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> +@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140410102630.65029403>