diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-06 09:18:59 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-06 09:26:09 -0500 |
commit | 00628c7268e3b81045961be51a0ca640aea368b0 (patch) | |
tree | 96f4d57d6c9852e7bf1d7a2fb9676401cc859244 /lib/libalpm/be_local.c | |
parent | 1d53dd716d7c7bea297a532809c4557b805a9918 (diff) | |
download | pacman-00628c7268e3b81045961be51a0ca640aea368b0.tar.xz |
Unify package removal code
This code duplication has always been a rather clumsy casuality of
fixing some past upgrade issues. Unify the removal code across upgrade
and remove operations into a new _alpm_remove_single_package() method
wihch makes it very clear how we handle upgrade and remove differently,
via several conditionals on newpkg.
This commit highlights interesting behavior such as the fact that the
implicit removal in every package upgrade never gets transaction events
or progress callbacks.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
0 files changed, 0 insertions, 0 deletions