Package: apt-cacher
Version: 0.9.4
Severity: minor
Tags: patch

apt-cacher-import.pl does not handle udebs.  Adding <*.udeb> to the
appropriate line in the script allows udebs to be imported to the cache.

--- /usr/share/apt-cacher/apt-cacher-import.pl  2005-05-27 19:07:36.000000000 
+0100
+++ /home/rob/tmp/apt-cacher-import.pl  2005-06-09 22:00:49.000000000 +0100
@@ -69,7 +69,7 @@
 chdir("$import_dir") || die "apt-cacher-import.pl: can't open the import 
directory ($import_dir)";

 ### Loop through all the .debs in the import dir
-foreach $packagefile ( <*.deb>, <*.gz>, <*.bz2> ) {
+foreach $packagefile ( <*.deb>, <*.udeb>, <*.gz>, <*.bz2> ) {


        # Get some things we need to insert into the header


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages apt-cacher depends on:
ii  curl                         7.13.2-2    Get a file from an HTTP, HTTPS, FT
ii  perl                         5.8.4-8     Larry Wall's Practical Extraction 
ii  thttpd [httpd-cgi]           2.23beta1-3 tiny/turbo/throttling HTTP server

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to