Re: place of ldconfig in postinst

2001-11-01 Thread Steve M. Robbins
On Thu, Nov 01, 2001 at 04:00:34PM +0100, Eric Van Buggenhaut wrote: > Hi, > > I'm building my first packages with shared library. > > This is what my postinst states: > > > case "$1" in > configure) > ldconfig > ;; > > abort-upgrade|abort-remove|abort-deconfigure) > > ;;

Re: place of ldconfig in postinst

2001-11-01 Thread Steve M. Robbins
On Thu, Nov 01, 2001 at 04:18:46PM +0100, Christian Surchi wrote: > On Thu, Nov 01, 2001 at 04:13:36PM +0100, Gergely Nagy wrote: > > > case "$1" in > > > configure) > > > ldconfig > > > > > > > W: iiwusynth: postinst-unsafe-ldconfig > > > > > Sorry, I don't get it ! > > > > Lintian is

Re: place of ldconfig in postinst

2001-11-01 Thread Gergely Nagy
> case "$1" in > configure) > ldconfig > W: iiwusynth: postinst-unsafe-ldconfig > Sorry, I don't get it ! Lintian is cannot parse shell scripts, it checks for some common variants, and warns if your version didn't match what it expected. Since you do the right thing, just ignore this

Re: place of ldconfig in postinst

2001-11-01 Thread Christian Surchi
On Thu, Nov 01, 2001 at 04:13:36PM +0100, Gergely Nagy wrote: > > case "$1" in > > configure) > > ldconfig > > > > W: iiwusynth: postinst-unsafe-ldconfig > > > Sorry, I don't get it ! > > Lintian is cannot parse shell scripts, it checks for some common > variants, and warns if your ver

Re: place of ldconfig in postinst

2001-11-01 Thread Sean 'Shaleh' Perry
On 01-Nov-2001 Eric Van Buggenhaut wrote: > Hi, > > I'm building my first packages with shared library. > > This is what my postinst states: Lintian is a collection of stupid shell scripts. It tries to catch thr common cases and does a pretty good job. My best suggestion is to write your code

place of ldconfig in postinst

2001-11-01 Thread Eric Van Buggenhaut
Hi, I'm building my first packages with shared library. This is what my postinst states: case "$1" in configure) ldconfig ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 Still lintian complains ab

place of ldconfig in postinst

2001-11-01 Thread Eric Van Buggenhaut
Hi, I'm building my first packages with shared library. This is what my postinst states: case "$1" in configure) ldconfig ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 Still lintian complains a

Re: place of ldconfig in postinst

2001-11-01 Thread Gergely Nagy
> case "$1" in > configure) > ldconfig > W: iiwusynth: postinst-unsafe-ldconfig > Sorry, I don't get it ! Lintian is cannot parse shell scripts, it checks for some common variants, and warns if your version didn't match what it expected. Since you do the right thing, just ignore this

Re: place of ldconfig in postinst

2001-11-01 Thread Christian Surchi
On Thu, Nov 01, 2001 at 04:13:36PM +0100, Gergely Nagy wrote: > > case "$1" in > > configure) > > ldconfig > > > > W: iiwusynth: postinst-unsafe-ldconfig > > > Sorry, I don't get it ! > > Lintian is cannot parse shell scripts, it checks for some common > variants, and warns if your ve

Re: place of ldconfig in postinst

2001-11-01 Thread Steve M. Robbins
On Thu, Nov 01, 2001 at 04:18:46PM +0100, Christian Surchi wrote: > On Thu, Nov 01, 2001 at 04:13:36PM +0100, Gergely Nagy wrote: > > > case "$1" in > > > configure) > > > ldconfig > > > > > > > W: iiwusynth: postinst-unsafe-ldconfig > > > > > Sorry, I don't get it ! > > > > Lintian i

Re: place of ldconfig in postinst

2001-11-01 Thread Steve M. Robbins
On Thu, Nov 01, 2001 at 04:00:34PM +0100, Eric Van Buggenhaut wrote: > Hi, > > I'm building my first packages with shared library. > > This is what my postinst states: > > > case "$1" in > configure) > ldconfig > ;; > > abort-upgrade|abort-remove|abort-deconfigure) > > ;;

Re: place of ldconfig in postinst

2001-11-01 Thread Sean 'Shaleh' Perry
On 01-Nov-2001 Eric Van Buggenhaut wrote: > Hi, > > I'm building my first packages with shared library. > > This is what my postinst states: Lintian is a collection of stupid shell scripts. It tries to catch thr common cases and does a pretty good job. My best suggestion is to write your cod