Chris Quenelle wrote:
> But isn't it straightforward to implement the same feature when
> the software is installed/uninstalled?

I apologize. I should have been more specific:

Here's a sketch of an example implementation:

Both prog13 and prog14 packages include a new kind of action.
Let's call it the VEREXEC action.  :-)   The argument would be
the pathname of the real binary.  The symlink would be hardwired
to always go in /usr/bin.  (I think the only real problem being
solved here relates to the /usr/bin directory, so it's okay
to hardwire that directory.)  Any package with a VEREXEC
action ending in "foo" would conflict with a package that
delivers any file/link/directory to /usr/bin/foo.

I don't really know the best way to implement this in pkg,
it could just be a semantically active keyword/flag attached
to the action that creates the real binary.

--chris



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to