Subject: Replacing parts of a pkg with another pkg
To: None <tech-pkg@netbsd.org>
From: Christoph Badura <bad@ora.de>
List: tech-pkg
Date: 05/25/1999 22:03:40
I need to use a newer version of CGI.pm.  Making that into a pkg is
straight forward enough.  However, it replaces some files of the Perl
pkg, because that comes with an older, buggy verion of the CGI.pm
module.  Of course, deinstalling it causes the deinstall of the
Perl pkg to "fail" because certain files can't be found anymore.

It wouldn't be too difficult to make the CGI pkg squirrel away a copy
of the files it replaces.  However, it seems there's no way to
invoke a post-deinstall target/script to put them back into place, after
the files have been removed.

Does anyone have a clever idea to handle this?

-- 
Christoph Badura					www.netbsd.org

	Anything that can be done in O(N) can be done in O(N^2).
	-- Ralf Schuettau (after looking at a particular piece of code)