diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-21 16:13:08 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-06-21 16:13:08 -0400 |
commit | 757881ed372b4b47df915b645a573d6431511986 (patch) | |
tree | cb2979864d88e2675c8471adcbf64c10b9973a20 | |
parent | 98744785306943953361eb3d43d800df2b3ac5fd (diff) | |
download | sbo-maintainer-tools-757881ed372b4b47df915b645a573d6431511986.tar.gz |
sbolint: error if slack-desc has "(short description of app)"
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | sbolint | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,7 @@ sbolint: standard input. This is actually not new, but was undocumented before. - If doinst.sh exists, it's checked for correct usage of config(), preserve_perms(), and gtk-update-icon-cache. +- If the slack-desc still has "(short description of app)", that's an error. New in 0.8.2: ============= @@ -880,6 +880,8 @@ sub check_slackdesc { log_error("slack-desc:$lineno: trailing whitespace after colon, on otherwise-blank line"); } elsif(length($text) && $text !~ /^ /) { log_error("slack-desc:$lineno: missing whitespace after colon, on non-blank line"); + } elsif(/\(short description of app\)/) { + log_error("slack-desc:$lineno: bad description: literally 'short description of app'"); } else { # The world is not ready for this: ###if($text =~ /\s$/) { |