index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
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/add.c | |
parent | 1d53dd716d7c7bea297a532809c4557b805a9918 (diff) |
-rw-r--r-- | lib/libalpm/add.c | 2 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 9ed4d818..e1827469 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -506,7 +506,7 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, if(oldpkg) { /* set up fake remove transaction */ - if(_alpm_upgraderemove_package(handle, oldpkg, newpkg) == -1) { + if(_alpm_remove_single_package(handle, oldpkg, newpkg, 0, 0) == -1) { handle->pm_errno = ALPM_ERR_TRANS_ABORT; ret = -1; goto cleanup; |