Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread hpfn
Hi Mattia, > On Tue, Oct 06, 2015 at 04:10:20PM +0200, Jakub Wilk wrote: > > * Herbert Parentes Fortes Neto , 2015-10-06, 09:33: > > >>>libgphoto2-6.postrm > > >>>remove) > > >>> rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || true > > >>> rm -f > > >>> /usr/share/hal/fdi/inform

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread hpfn
Hi Alex, > >> >>>rm -f > >> >>> /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE-device.fdi > >> >>> || true > > What errors if using 'rm -f', right ? > > > What do you mean by that? Could you please explain further? Using 'rm -f' doesn't return a error. if I do (TESTE d

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread hpfn
On Tue, 6 Oct 2015 22:42:25 +0800 Alex Vong wrote: > Hi Herbert, > > On 06/10/2015, Herbert Parentes Fortes Neto wrote: > > Hi Alex, > > > > > >> >> >>> rm -f > >> >> >>> /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE-device.fdi > >> >> >>> || true > > > >> > What errors if

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread Mattia Rizzolo
On Tue, Oct 06, 2015 at 04:10:20PM +0200, Jakub Wilk wrote: > * Herbert Parentes Fortes Neto , 2015-10-06, 09:33: > >>>libgphoto2-6.postrm > >>>remove) > >>> rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || true > >>> rm -f > >>> /usr/share/hal/fdi/information/10freedesktop/10

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread Alex Vong
Hi Herbert, On 06/10/2015, Herbert Parentes Fortes Neto wrote: > Hi Alex, > > >> >> >>> rm -f >> >> >>> /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE-device.fdi >> >> >>> || true > >> > What errors if using 'rm -f', right ? >> > >> What do you mean by that? Could you pleas

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread Alex Vong
Hi Herbert, On 06/10/2015, Herbert Parentes Fortes Neto wrote: > Hi Jakub, > >> * Herbert Parentes Fortes Neto , 2015-10-06, 09:33: >> >>>libgphoto2-6.postrm >> >>>remove) >> >>> rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || >> >>> true >> >>> rm -f >> >>> /usr/share/hal/fdi

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread hpfn
Hi Jakub, > * Herbert Parentes Fortes Neto , 2015-10-06, 09:33: > >>>libgphoto2-6.postrm > >>>remove) > >>> rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || true > >>> rm -f > >>> /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE.fdi || > >>> true > >>> rm -f

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread Jakub Wilk
* Herbert Parentes Fortes Neto , 2015-10-06, 09:33: libgphoto2-6.postrm remove) rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || true rm -f /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE.fdi || true rm -f /usr/share/hal/fdi/information/1

Re: ldconfig in a post(rm|inst) script

2015-10-06 Thread hpfn
Hi Mattia, On 10/05/2015 05:52 PM, Mattia Rizzolo wrote: > On Mon, Oct 05, 2015 at 03:56:57PM -0300, Herbert Parentes Fortes Neto wrote: >> Lintian informs about the use of ldconfig >> in postrm script of libgphoto2. It says even >> where to put the cmd. Good! > > before all, be aware that usually

Re: ldconfig in a post(rm|inst) script

2015-10-05 Thread Mattia Rizzolo
On Mon, Oct 05, 2015 at 03:56:57PM -0300, Herbert Parentes Fortes Neto wrote: > Lintian informs about the use of ldconfig > in postrm script of libgphoto2. It says even > where to put the cmd. Good! before all, be aware that usually lib maintainers don't need to do this explicetely, since debhelpe

ldconfig in a post(rm|inst) script

2015-10-05 Thread hpfn
Hi, Lintian informs about the use of ldconfig in postrm script of libgphoto2. It says even where to put the cmd. Good! What I understood reading the manpage is to put the cmd without options is enough. Is like this: libgphoto2-6.postrm remove) rm -f /usr/share/hal/fdi/information/20third