]> git.saurik.com Git - apt.git/commit
apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.
authorJulian Andres Klode <jak@debian.org>
Sat, 26 Jun 2010 21:01:49 +0000 (23:01 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 26 Jun 2010 21:01:49 +0000 (23:01 +0200)
commit3b20aef1a2b5fd2fcd6f62a819edbdb19631fb98
treeeb91ad582d9fe20f6b6c6d9ae1a0ff1050ebd112
parent7ecb5be707d7365df3af157a122b52667b96ace9
apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.

Previously, linux-any was always matched, because the code simply
appended linux- to the APT::Architecture value. Now, it does this
only if the APT::Architecture value does not contain "-".
apt-pkg/deb/deblistparser.cc