[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to properly drop an obsolete directory from a package



On Fri, 30 Aug 2019 14:19:43 +0200 Dominique Dumont wrote:

> 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 
> release.

Thanks for your answer, I'll try this way and see how it goes.

Bye!

-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpjiizMMjOG5.pgp
Description: PGP signature


Reply to: