aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-21 16:13:08 -0400
committerB. Watson <urchlay@slackware.uk>2023-06-21 16:13:08 -0400
commit757881ed372b4b47df915b645a573d6431511986 (patch)
treecb2979864d88e2675c8471adcbf64c10b9973a20
parent98744785306943953361eb3d43d800df2b3ac5fd (diff)
downloadsbo-maintainer-tools-757881ed372b4b47df915b645a573d6431511986.tar.gz
sbolint: error if slack-desc has "(short description of app)"
-rw-r--r--NEWS1
-rwxr-xr-xsbolint2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 910d526..c5c8a7d 100644
--- a/NEWS
+++ b/NEWS
@@ -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:
=============
diff --git a/sbolint b/sbolint
index d95b3bd..26c45c5 100755
--- a/sbolint
+++ b/sbolint
@@ -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$/) {