The following commit has been merged in the master branch:
commit 9e0aa84d96169416cd38f625c5e40b1039f4c511
Author: Niels Thykier <[email protected]>
Date:   Sat Jun 25 12:08:59 2011 +0200

    Made the javascript symlink exception stricter
    
    The target must now be a .js file in a subdir (or deeper) of
    /usr/share/javascript.

diff --git a/checks/symlinks b/checks/symlinks
index 7fd0dfb..de86648 100644
--- a/checks/symlinks
+++ b/checks/symlinks
@@ -61,7 +61,7 @@ foreach my $file (@{$info->sorted_index}) {
         # source package.
         next if $path =~ m@man/man\d/undocumented@o or
             $path =~ m@^etc/alternatives/@o or
-            $path =~ m@^usr/share/javascript/@o or
+            $path =~ m@^usr/share/javascript/(?:[^/]++/)++[^/]+\.js$@o or
             $path eq 'lib/init/upstart-job';
 
         # Possibly broken symlink

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to