From 97fa708ecc14ca8a2136b586b7eca113b7020fd3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 31 Aug 2026 01:49:54 -0400 Subject: sbopkglint: improve library path checking for .pc files. --- sbolint | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sbolint') 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!"); } -- cgit v1.2.3