[pkg-lighttpd] Bug#642494: Bug#642494: Doesn't remove /etc/lighttpd on purge
Nelson A. de Oliveira
naoliv at debian.org
Fri Sep 23 13:32:40 UTC 2011
Hi!
On Fri, Sep 23, 2011 at 9:58 AM, Olaf van der Spek <olafvdspek at gmail.com> wrote:
>> Now when purging the package yes, it shouldn't be a blind rm -r
>> /etc/lighttpd but at least it should remove it's own files/links (and
>> let the files that were created locally or by other means).
>> The example that I sent on the bug report fits on this second case:
>> there is no local file and the only link was created by
>> lighttpd-enable-mod itself.
>
> How is the code supposed to know who created a symlink?
postrm code from Arno [1] does basically this (handle the case where
lighttpd mods were left enabled before removing the package)
[1] http://anonscm.debian.org/viewvc/pkg-lighttpd/lighttpd/trunk/debian/lighttpd.postrm?view=markup&pathrev=555
Best regards,
Nelson
More information about the pkg-lighttpd-maintainers
mailing list