Subject: Re: Updating pkg_install on NetBSD 4
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-users
Date: 09/28/2007 14:32:06
-----BEGIN PGP SIGNED MESSAGE-----
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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFG/PRFuPlHKFfKXTYRCnP+AJ0VHqgYtKKk9PtYVpv7y65S1ZH4JACeKcun
N17WufQRZ7oEAKCkUOTGKnw=
=kXtj
-----END PGP SIGNATURE-----