On Fri, Sep 23, 2011 at 3:32 PM, Nelson A. de Oliveira
<nao...@debian.org> wrote:
> Hi!
>
> On Fri, Sep 23, 2011 at 9:58 AM, Olaf van der Spek <olafvds...@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

That does not really answer the question. ;)

Olaf



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to