]> git.deb.at Git - deb/packages.git/commitdiff
Add Patch Tracker link for 3.0 (quilt) src packages (Closes: #560882)
authorSimon Paillard <simon.paillard@resel.enst-bretagne.fr>
Fri, 15 Jan 2010 06:53:10 +0000 (07:53 +0100)
committerSimon Paillard <simon.paillard@resel.enst-bretagne.fr>
Fri, 15 Jan 2010 06:53:10 +0000 (07:53 +0100)
templates/html/show.tmpl

index ec71a19cf074c22983515dfd5319d0c4e77b2a5e..e680b1cc8c800546f612400d7c8e478cefbb2d15 100644 (file)
 
 [% IF patch_tracking_url && src %]
   [% FOREACH src.downloads %]
-    [% IF name.match('\.diff\.(gz|bz2|lzma)$') %]
+    [% IF name.match('\.(debian|diff)\.(gz|bz2|lzma)$') %]
     <li><a href="[% "$patch_tracking_url/$src.pkg/$src.version" %]">[% g("%s Patch Tracker", organisation) %]</a></li>
     [% END -%]
   [% END -%]
 [% ELSIF patch_tracking_url && is_source %]
   [% FOREACH srcfiles %]
-    [% IF filename.match('\.diff\.(gz|bz2|lzma)$') %]
+    [% IF filename.match('\.(debian|diff)\.(gz|bz2|lzma)$') %]
     <li><a href="[% "$patch_tracking_url/$pkg/$version" %]">[% g("%s Patch Tracker", organisation) %]</a></li>
     [% END -%]
   [% END -%]