summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/version.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-10 03:47:47 +0100
committerDan McGee <dan@archlinux.org>2011-01-10 17:50:03 +0100
commit842cbc9ea4036036cf00b3b2eeccc11ad531cd2e (patch)
tree9f9a6e1d9d78a5477e3f2e83dcad287e87860389 /lib/libalpm/version.c
parentd03b57f459fb9ab9288991a70c4e7297a7c1d150 (diff)
downloadpacman-842cbc9ea4036036cf00b3b2eeccc11ad531cd2e.tar.gz
pacman-842cbc9ea4036036cf00b3b2eeccc11ad531cd2e.tar.xz
Ensure we use local package when calculating removed size
We were checking if a package existed locally, but then using the incoming package to calculate removed size rather than the currently installed package. Also adjust the local variable in the replaces loop to make it more clear that we are always dealing with local packages here. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/version.c')
0 files changed, 0 insertions, 0 deletions