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

Greg Tourte artourter at gmail.com
Sun Apr 7 19:48:30 UTC 2024


Giancarlo,

you should also add a douninst.s file with the following to clean up after
uninstall if you haven't already done so:

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

Cheers

Greg

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

> Il 07/04/24 19:24, Giancarlo Dessì ha scritto:
>
> Hi,
>
> I'm going to complete the slackbuild of a new package. It's an alternative
> implementation of the fftw package released with the official Slackware
> that includes as extension the support to Open MPI.
>
> The slackbuild and the installation work fine (tested with a new package
> that require it as dependency), but sbopkglint test returns this failure:
>
> Running test: 60-usr_info...
> --- package has info files, but doinst.sh does not call install-info
>
> in the doinst.sh template nothing referring to install-info appears. I
> looked in some slackbuilds discharged from SBo to find a sample but they
> are affect by the same issue. How can I solve?
>
> thanks
>
> Solved
>
> I found a sample in the cgdb package (thanks to Dave Woodfall)
>
> doinst.sh must include this:
>
> 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
>
> (I think it should be included in the template of doinst.sh)
>
>
> --
> *********************************************************
> Giancarlo Dessìhttps://www.giand.ithttps://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/20f7c656/attachment.htm>


More information about the SlackBuilds-users mailing list