Hi!

On Fri, Sep 23, 2011 at 9:58 AM, Olaf van der Spek <[email protected]> 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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to