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

Greg Tourte artourter at gmail.com
Sun Apr 7 20:52:26 UTC 2024


Hi Giancarlo,

Yes, the one I use redirects both stdout and stderr rather than just
stderr. Since we are not really interested in any output from it, we can
redirect both but it doesn't really matter.

Cheers

Greg

On Sun, 7 Apr 2024 at 21:11, Giancarlo Dessì <slack at giand.it> wrote:

>
> 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!
> *********************************************************
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240407/ed07e91b/attachment.htm>


More information about the SlackBuilds-users mailing list