[Slackbuilds-users] Good practice to manage autodetected optional deps

Tonus tonus1 at free.fr
Wed Feb 14 00:34:47 UTC 2024


Hi all

I have a slackbuild that builds man pages if Pandoc is installed 
(autodetected).

If it isn't, the man pages compression in the SBo template makes the script fail
What's the good practice ? Add `|| true` at the end of the lines ?

Tryed on clean system without Pandoc and on my system that has Pandoc, 
it builds fine.

-- 
Regards,

Tonus


More information about the SlackBuilds-users mailing list