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

[SCM] Debian package checker branch, master, updated. 2.5.1-14-g9e0aa84



The following commit has been merged in the master branch:
commit 9e0aa84d96169416cd38f625c5e40b1039f4c511
Author: Niels Thykier <niels@thykier.net>
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


Reply to: