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

how to properly remove an empty config directory



Dear mentors,

I'm trying to fix a problem in the debtags package (#670697) which, in
the current testing version (1.12) install a config file in /etc/apt.conf.d
instead of /etc/apt/apt.conf.d

In sort:

1. fix the package config file installation.
2. move the /etc/apt.conf.d/80debtags to /etc/apt/apt.conf.d/
3. remove the empty directory /etc/apt.conf.d that shouldn't exits.

1. DONE
2. DONE
 Using the debian/debtags.maintscript:
mv_conffile /etc/apt.conf.d/80debtags /etc/apt/apt.conf.d/80debtags 1.12-1~

3. What is the proper way to do this? A postrm check if the
directory exist and delete it?

Thanks for any help.
Bye
E.

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


Reply to: