[Slackbuilds-users] sbopkglint failure: doinst.sh does not call install-info

Giancarlo Dessì slack at giand.it
Sun Apr 7 20:11:22 UTC 2024


Il 07/04/24 21:48, Greg Tourte ha scritto:
> if [ -x /usr/bin/install-info -a -d usr/info ]; then
> (
> cd usr/info
> rm -f dir
> for i in *.info*; do
> /usr/bin/install-info $i dir &>/dev/null
> done
> )
> fi

Thanks Greg

sbopkglint reported me that douninst.sh is needed, so I did search other 
samples and added this file as following:

if [ -x /usr/bin/install-info -a -d usr/info ]; then
   ( cd usr/info
     rm -f dir
     for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
   )
fi

It appears similar, except 2>/dev/null instead of &>/dev/null

Is it correct?

-- 
*********************************************************
Giancarlo Dessì
https://www.giand.it
https://github.com/giandex

Slackware Linux... because it works!
*********************************************************



More information about the SlackBuilds-users mailing list