Bug#881753: closed by Joachim Breitner <nome...@debian.org> (Bug#881753: fixed in local-apt-repository 0.5)

2017-11-14 Thread Joachim Breitner
Hi,

Am Dienstag, den 14.11.2017, 23:49 +0100 schrieb Andreas Beckmann:
> On 11/14/2017 11:24 PM, Debian Bug Tracking System wrote:
> >* Make sure /etc/apt/sources.list.d/ exists only when package is 
> > installed
> >  (but not removed but not purged) (Closes: #881753)
> 
> That sounds like postrm remove: 'rm -rf /etc/apt/sources.list.d/' which
> made me curious :-) (Good, it doesn't do *that* rm)
> 
> I think your postinst wants a 'ln -sf' (otherwise it may fail on
> reinstall/upgrade if the link exists already).
> And you may want a .maintscript to rm_conffile the old conffile properly.

thanks for the suggestions, they are now in 0.6

Cheers,
Joachim
-- 
Joachim “nomeata” Breitner
Debian Developer
  nome...@debian.org • https://people.debian.org/~nomeata
  XMPP: nome...@joachim-breitner.de • GPG-Key: 0xF0FBF51F
  https://www.joachim-breitner.de/

signature.asc
Description: This is a digitally signed message part


Bug#881753: closed by Joachim Breitner <nome...@debian.org> (Bug#881753: fixed in local-apt-repository 0.5)

2017-11-14 Thread Andreas Beckmann
On 11/14/2017 11:24 PM, Debian Bug Tracking System wrote:
>* Make sure /etc/apt/sources.list.d/ exists only when package is installed
>  (but not removed but not purged) (Closes: #881753)

That sounds like postrm remove: 'rm -rf /etc/apt/sources.list.d/' which
made me curious :-) (Good, it doesn't do *that* rm)

I think your postinst wants a 'ln -sf' (otherwise it may fail on
reinstall/upgrade if the link exists already).
And you may want a .maintscript to rm_conffile the old conffile properly.


Andreas