Subject: Re: Updating pkg_install on NetBSD 4
To: John Nemeth <>
From: Jan Danielsson <>
List: pkgsrc-users
Date: 09/28/2007 14:32:06
Hash: SHA512

John Nemeth wrote:
> This means that the manpages for pkg_install will be the ones from
> base.  I don't know of any solutions other then the end user having to
> modify more stuff.

   Hmm... I've always thought that symlinks existed to solve these kinds
of problems. Is it at all possible to keep the pkgsrc tools out of the
path (both in base installation and pkgsrc), and then use symlinks
somewhere along the path to point to the appropriate[*] tools?

   This would allow man pages to be symlinked as well.

[*] One would write a simple shell script which tests for the existence
of the pkgsrc pkg_install tools. If they exist, symlink to them. If they
don't, symlink to the base tools. If done correctly, the end user would
never have to run this script; it should be run only after pkgsrc
pkg_install is installed, or after it has been removed.

- --
Kind regards,
Jan Danielsson

Version: GnuPG v1.4.7 (NetBSD)