Bug#631513: lintian: check for embedded copies of Underscore.js
Package: lintian
Version: 2.5.1
Severity: wishlist
Tags: patch
Please see the attached patch.
--
Jakub Wilk
diff --git a/checks/files b/checks/files
--- a/checks/files
+++ b/checks/files
@@ -68,6 +68,7 @@
[ qr,(?i)dojo\.js(\.uncompressed\.js)?(\.gz)?$, => qr'libjs-dojo-\w+' ],
[ qr,(?i)dijit\.js(\.uncompressed\.js)?(\.gz)?$, => qr'libjs-dojo-\w+' ],
[ qr,(?i)strophe(\.min)?\.js(\.gz)?$, => qr'libjs-strophe' ],
+ [ qr,(?i)underscore(\.min)?\.js(\.gz)?$, => qr'libjs-underscore' ],
# not yet available in unstable:
# [ qr,(?i)(htmlarea|Xinha(Loader|Core))\.js$, => qr'xinha' ],
);
Reply to: