[Slackbuilds-users] sbo-maintainer-tools and .info-files

Franzen slackbuilds at schoepfer.info
Sat May 27 08:12:59 UTC 2023


Hi,

i have build where sbopkglint complaints:
--- package has info files, but doinst.sh does not call install-info
FAILED

There is no info on SBo what the "best practice" is for .info-files in 
doinst.sh.
Maybe put some info in the templates?

https://slackbuilds.org/templates/doinst.sh
if [ -x /usr/bin/install-info ]; then
   /usr/bin/install-info --info-dir=usr/info usr/info/PRGNAM.info.gz 2> 
/dev/null
fi

https://slackbuilds.org/templates/douninst.sh
if [ -x /usr/bin/install-info ]; then
   /usr/bin/install-info --remove --info-dir=usr/info 
usr/info/PRGNAM.info.gz 2> /dev/null
fi

Or, does this not work for douninst.sh, and needs to be done this 
way(re-generate /usr/info/dir)?
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




Johannes



More information about the SlackBuilds-users mailing list