Package: apt-cacher
Version: 1.5.3
Severity: wishlist
Tags: patch

Jigdo complains and doesn't work when using apt-cacher. I've hack the source so
it works well now. Please consider adding jigdo support. (for files *.template
and *.jigdo)

Thanks
--- apt-cacher~	2008-05-19 00:54:01.000000000 +0300
+++ apt-cacher	2008-05-19 00:54:01.000000000 +0300
@@ -643,7 +643,7 @@
         $do_import=0;
         $is_index_file=0;
 
-        if ($filename =~ /(\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb)$/) {
+        if ($filename =~ /(\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb|\.jigdo|\.template)$/) {
             # We must be fetching a .deb or a .rpm, so let's cache it.
             # Place the file in the cache with just its basename
             $new_filename = $filename;

Reply via email to