svn commit: r318127 - in head/games/xboard: . files

Johan van Selst johans at freebsd.org
Tue May 14 20:10:14 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130514/d41965cb/attachment.sig>


More information about the svn-ports-all mailing list