On 11/14/2017 11:24 PM, Debian Bug Tracking System wrote:
>    * Make sure /etc/apt/sources.list.d/ exists only when package is installed
>      (but not removed but not purged) (Closes: #881753)

That sounds like postrm remove: 'rm -rf /etc/apt/sources.list.d/' which
made me curious :-) (Good, it doesn't do *that* rm)

I think your postinst wants a 'ln -sf' (otherwise it may fail on
reinstall/upgrade if the link exists already).
And you may want a .maintscript to rm_conffile the old conffile properly.


Andreas

Reply via email to