[Slackbuilds-users] sbo-maintainer-tools and .info-files
urchlay at slackware.uk
Sun May 28 06:31:35 UTC 2023
On Sun, 28 May 2023, Franzen via SlackBuilds-users wrote:
> While we are here, i had an rejected build because i didn't have a
> if [ -x /usr/bin/... ]; then
> in doinst.sh/douninst.sh
> Maybe sbo-maintainer-tools could also warn if an executed command in
> doinst.sh has no -x test,
That could possibly be added. Though, any parse I write for that, will
not be a real shell that parses the full shell syntax...
> and warn if executed commands don't actually exist.
How can it? It has no idea what commands do or do not exist on
whatever system you end up installing the package on... it could check
if they exist currently on the system it's running on, which (probably
99.9% of the time) is the same one you install it on for real... but
requiring all the dependencies for a package to be installed just to
lint that package seems kinda onerous.
More information about the SlackBuilds-users