tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: empty directories after pkg_delete -r \*



On Wed, Nov 30, 2011 at 04:48:54AM +0100, Joerg Sonnenberger wrote:
> On Wed, Nov 30, 2011 at 12:08:54AM +0100, Thomas Klausner wrote:
> > lib/lua/5.1 is handled using @pkgdir in lang/lua and in
> > graphics/graphviz. Perhaps reference counting doesn't manage two
> > @pkgdir entries for the same directory well. Since I didn't see a
> > reason for the entry in graphics/graphviz, I removed it there.
> 
> No, multiple @pkgdir entries should be fine.

Well, I agree they should, but I don't think they are :)

> > share/htdig/common isn't mentioned explicitly as @pkgdir; some files
> > are installed there by www/htdig, and some databases are created there
> > which get deleted using @unexec ${RM}. Is the clean-empty-dirs step
> > too late (or too dumb) to notice this?
> 
> That should be moved to PRE-DEINSTALL. @unexec must die.

I've moved it into a DEINSTALL script and the directory is now removed.
 Thomas


Home | Main Index | Thread Index | Old Index