[Slackbuilds-users] Proper Method to Categorize Desktop Apps

Dave Woodfall dave at slackbuilds.org
Sun May 1 10:09:58 UTC 2022


On 01/05/22 04:58,
Konrad J Hambrick <kjhambrick at gmail.com> put forth the proposition:
<snip>
> Question:  is there a better way ( or a recommended way ) to enter long,
> formatted
> lists of text like NEW_CAT in the code snippet below ?
...
>    NEW_CAT="Science;Math;ImageProcessing;DataVisualization"
>    NEW_CAT="$NEW_CAT;Geoscience;NumericalAnalysis;Qt;"

If text width matters then that's how to enter long strings and
keeping within a limit.  Under bash/zsh you can also use +=

NEW_CAT="Science;Math;ImageProcessing;DataVisualization"
NEW_CAT+=";Geoscience;NumericalAnalysis;Qt;"

> Note that many other SBo Packages also fail `desktop-file-validate` so
> maybe this was
> all a fools-errand :)

Well it is only a warning, not an error, so it wouldn't fail the
slackbuild.

--
Dave

sbo-maintainer-tools:
https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/
SBo templates:
https://slackbuilds.org/templates/


More information about the SlackBuilds-users mailing list