Re: dpkg and /etc directories
On Fri, Sep 21, 2001 at 11:02:50AM +0200, Christian Marillat wrote:
> Hi,
>
> Why dpkg don't remove empty directories in /etc when purging ?
> It is a dpkg bug ?
>
> I received these bugs :
>
> 112513 /etc/sound/events
> 112995 /etc/gnome
> 112994 /etc/gnome/config
> 113001 /etc/X11/sawfish/site-init.d
Were they empty when the package was removed, or only after it was
purged? If the latter, then at the moment, you'll have to remove them
manually in your postrm:
rmdir /etc/sound/events 2>/dev/null || true
etc. There is currently a wishlist against dpkg with a suggested way
of dealing with this issue, see bug#112386.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
NEW: Visit http://www.helpthehungry.org/ to do just that
Reply to: