aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-08-31 01:49:54 -0400
committerB. Watson <urchlay@slackware.uk>2026-08-31 01:49:54 -0400
commit97fa708ecc14ca8a2136b586b7eca113b7020fd3 (patch)
tree1edf6b390ce24cef554ba6f73a527602eaac6755 /sbolint
parent2b3e9b84ad566f3c45d2628b6f9114ba70751b25 (diff)
downloadsbo-maintainer-tools-97fa708ecc14ca8a2136b586b7eca113b7020fd3.tar.gz
sbopkglint: improve library path checking for .pc files.HEAD0.9.8master
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbolint b/sbolint
index 07d8289..5f13c27 100755
--- a/sbolint
+++ b/sbolint
@@ -1848,14 +1848,12 @@ sub check_doinst {
if(!$pp_defined) {
log_error("$file:$lineno: 'preserve_perms' function used, but not defined.");
}
- } elsif(m,-e\s+(\/)?usr/share/icons/\S*icon-theme\.cache,) {
- #warn "got here $lineno: $_";
+ } elsif(m,-e\s+(\/usr)?\S*icon-theme\.cache,) {
if(defined $1) {
log_error("$file:$lineno: bad icon cache check (/usr/, should be usr/)");
}
$icon_theme_check = $lineno;
} elsif(m,^[^[#]*gtk-update-icon-cache,) {
- #warn "got here $lineno: $_";
if(!$icon_theme_check) {
log_error("$file:$lineno: icon cache created unconditionally!");
}