[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r160 - in trunk: checks debian



Author: he
Date: 2004-04-14 20:27:04 +0200 (Wed, 14 Apr 2004)
New Revision: 160

Modified:
   trunk/checks/shared-libs
   trunk/debian/changelog
Log:
* checks/shared-libs:
  + [HE] Also handle case statements in postrm scripts. (Closes: #179435)
					  


Modified: trunk/checks/shared-libs
===================================================================
--- trunk/checks/shared-libs	2004-04-14 17:54:55 UTC (rev 159)
+++ trunk/checks/shared-libs	2004-04-14 18:27:04 UTC (rev 160)
@@ -331,6 +331,8 @@
     s/^\["\$1"=.?remove.?\]\&&BldconfigB//gm;
     s/^\[.?remove.?="\$1"\]&&BldconfigB//gm;
 
+	s!remove(?:|[^)]+)*\).*?BldconfigB.*?(;;|esac)!!s;
+
     if (/^[^\#]*BldconfigB/m) {
         print "W: $pkg $type: postrm-unsafe-ldconfig\n";
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-04-14 17:54:55 UTC (rev 159)
+++ trunk/debian/changelog	2004-04-14 18:27:04 UTC (rev 160)
@@ -115,6 +115,7 @@
     + [HE] Add some new logic to cope with symlinks from /usr/lib to another
       dir to fix false positives of postrm-has-useless-call-to-ldconfig and
       friends. (Closes: #190714)
+    + [HE] Also handle case statements in postrm scripts. (Closes: #179435)
   * checks/standards-version:
     + [JvW] Also emit warning if standards version is 3.6.0, and not yet 3.6.1
 



Reply to: