diff options
author | Pierre Neidhardt <ambrevar@gmail.com> | 2014-02-09 19:41:40 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-03 02:25:55 +0100 |
commit | fe961e65904dac06762b78350c340631a36eacf1 (patch) | |
tree | 88f83fa6b4d737a8dc8870b9cda26ec088e7c692 /contrib/paccache.sh.in | |
parent | 08cddb4b4b84147da52dfffc4e416f76a6c5c430 (diff) | |
download | pacman-fe961e65904dac06762b78350c340631a36eacf1.tar.gz pacman-fe961e65904dac06762b78350c340631a36eacf1.tar.xz |
pacsearch: indexing by 'name version' instead of 'name'
In the old pacsearch, packages were identified uniquely by pkgfields[1], which
contained pkgname+pkgver. Since commit 4d13558 pkgver is stored in pkgfields[2],
and packages have been identified with pkgfields[1] only. Because of that
packages with a different version would appear once only.
This fixes the regression by identifying packages with both pkgfields[1] and
pkgfields[2].
Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/paccache.sh.in')
0 files changed, 0 insertions, 0 deletions