The following patch to Package.pm should solve the problem: the filename
should be an *exact* match, or binary packages containing the same
strings would match (like [libpam-]otpw_1.3.2sarge_i386.deb in the
previous example).

==========================================================================
--- Packages.pm.orig    2005-08-18 00:44:17.000000000 +0200
+++ Packages.pm.new     2005-08-18 00:45:39.000000000 +0200
@@ -997,7 +997,7 @@
             # for later use.

             for $count (0..$#files) {
-                if ($files[$count]->{'Filename'} =~ m/$filepat/) {
+                if ($files[$count]->{'Filename'} =~ m/^$filepat$/) {
                     $marker = $count;
                 }
             }
==========================================================================

Cheers,
Julien




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

Reply via email to