Re: how to properly remove an empty config directory

2014-06-23 Thread Enrico Rossi
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.

Re: how to properly remove an empty config directory

2014-06-23 Thread Enrico Rossi
On Fri, Jun 20, 2014 at 11:30:09PM +0200, Guido van Steen wrote: well, the command rmdir only removes a dir when it is empty. The command rmdir wasn't mentioned in this thread. The OP said remove the empty directory /etc/apt.conf.d that shouldn't exits. Yes, I mean postinst, sorry for the

Re: how to properly remove an empty config directory

2014-06-20 Thread Paul Gevers
On 20-06-14 07:55, Guido van Steen wrote: 3. remove the empty directory /etc/apt.conf.d that shouldn't exits. More precise: 3. remove the empty directory /etc/apt.conf.d if it is empty. well, the command rmdir only removes a dir when it is empty. I think you already got the answer to do

Re: how to properly remove an empty config directory

2014-06-20 Thread Guido van Steen
well, the command rmdir only removes a dir when it is empty. The command rmdir wasn't mentioned in this thread. The OP said remove the empty directory /etc/apt.conf.d that shouldn't exits.

Re: how to properly remove an empty config directory

2014-06-19 Thread Enrico Rossi
Eriberto, On Wed, Jun 18, 2014 at 03:30:01PM -0300, Eriberto wrote: How you did to get 1 and 2? Can you post the current package at mentors.d.n? 1. fix the package config file installation. by fixing the file debian/debtags.install with the proper path. 2. move the

Re: how to properly remove an empty config directory

2014-06-19 Thread Eriberto
2014-06-19 5:58 GMT-03:00 Enrico Rossi e.ro...@tecnobrain.com: 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. 3. remove the empty directory /etc/apt.conf.d that shouldn't exits.

Re: how to properly remove an empty config directory

2014-06-19 Thread Jakub Wilk
* Enrico Rossi e.ro...@tecnobrain.com, 2014-06-18, 16:41: 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? s/postrm/postinst/? -- Jakub Wilk -- To UNSUBSCRIBE, email to

Re: how to properly remove an empty config directory

2014-06-19 Thread Guido van Steen
3. remove the empty directory /etc/apt.conf.d that shouldn't exits. More precise: 3. remove the empty directory /etc/apt.conf.d if it is empty. Best wishes, Guido van Steen

how to properly remove an empty config directory

2014-06-18 Thread Enrico Rossi
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

Re: how to properly remove an empty config directory

2014-06-18 Thread Eriberto
How you did to get 1 and 2? Can you post the current package at mentors.d.n? Eriberto 2014-06-18 11:41 GMT-03:00 Enrico Rossi e.ro...@tecnobrain.com: 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