Date: Tue, 14 May 2013 22:10:11 +0200 From: Johan van Selst <johans@freebsd.org> To: Jason Helfman <jgh@FreeBSD.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r318127 - in head/games/xboard: . files Message-ID: <20130514201011.GA50950@mud.stack.nl> In-Reply-To: <CAMuy=%2Bg7TC6t7q6kPkQ-nJ7FBx2p=cuCm3M9NDmNAHtShJmkeg@mail.gmail.com> References: <201305132020.r4DKKTen074755@svn.freebsd.org> <CAMuy=%2BhK%2BSyyzWTwnaYa=oxfd6FQhiaU_7-ubgehr4%2B8q-=c3A@mail.gmail.com> <20130514182208.GA47129@mud.stack.nl> <CAMuy=%2Bg7TC6t7q6kPkQ-nJ7FBx2p=cuCm3M9NDmNAHtShJmkeg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Jason Helfman wrote: > > > > - Add deinstall script to avoid leftovers > > > Is there any particular reason this was added in favor of a plist entry? > > Yes, plist entries are executed before PORTDATA cleanups. Since PORTDATA > > files are installed below this directory, an @rmdir in plist would fail. > > I certainly welcome suggestions for a cleaner solution. > I believe adding this to the plist would take care of your needs. > @unexec /bin/rmdir %%PREFIX%%/share/games 2>/dev/null || true No, it won't. Such a command will be executed too early when the package is removed. Regards, Johan --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iF4EAREIAAYFAlGSmiIACgkQAEpMHW8nCPQK+gEAsVHkFFR32vud2qt7yae2m0wB n/+MZqWkGPjItU6WtCoBAJ4J4dH2pAqdYShA5TSfG26eg13XM6K6UEHSFb9ls6LL =oa4R -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130514201011.GA50950>