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

Re: how to properly remove an empty config directory



Hi Eriberto,

On Thu, Jun 19, 2014 at 01:51:57PM -0300, Eriberto wrote:
> > and for the package you can clone the current debtag package from
> > anonscm, I will commit these changes once decided the proper way to
> > solve the:
> Not found.

http://anonscm.debian.org/git/debtags/debtags.git/

> >> > 3. remove the empty directory /etc/apt.conf.d that shouldn't exits.
> >> > What is the proper way to do this? A postrm check if the
> >> > directory exist and delete it?
> You can use dh_clean (file debian/clean). $ man dh_clean.

dh_clean is used (for what I understand) in building the package, which
BTW I will use it for properly clean up some mess left around :)

BUT

what I was looking for is a proper way, if exist, to handle the removal
of a empty configuration directory after the update of the current
testing version. I can handle it via normal bash script in post-inst.

Thanks for the time
E.

-- 
GPG Key: 4096R/F2133176 2010-10-19 Enrico Rossi <e.rossi@tecnobrain.com>


Reply to: