On Wed, May 22, 2013 at 11:42:08AM -0700, Zac Medico wrote

> It will require portage to be able to predict where the units are 
> installed, and also be able to avoid accidentally wiping out anything 
> else that may be installed nearby. The prediction issue also comes up in 
> this bug which requests a 'dounit' ebuild helper:
> 
>    https://bugs.gentoo.org/show_bug.cgi?id=469086
> 
> Maybe the package manager should query the unit location from pkg-config?

  I think this is the wrong algorithm... i.e. asking where files of type
"X" are installed, and wreaking havoc in in that location.  I think that
it would be more robust for the installer to decide which files are of
type "X", and not install them in the first place.  This approach does
not risk wiping files from another program in the same directory.  And
preventative action is generally better than cleaning up after the fact.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to