Re: How to properly drop an obsolete directory from a package
On Friday, 23 August 2019 23:04:30 CEST Francesco Poli wrote:
> Please take into account that the postrm script, when called with the
> "purge" argument, removes the directory, along with all its content,
> with the following command:
> rm -rf /var/cache/apt-listbugs/
> Should this be kept in the postrm script?
> Or should it be moved to the postinst script, to replace the
> above-mentioned index cleanup code?
I would choose this solution and keep the cleanup code until next Debian
Hope this help