index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-03-24 09:59:44 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-03 18:46:32 +1000 |
commit | 9506409c3fa5e5df3a70ba9b814ce0032ed24196 (patch) | |
tree | 2b1b5a5d11ea07e7682db0fa3bccc576216facea /lib/libalpm | |
parent | 71da296d01ee564d39012415d7e1981c42723648 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 2 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 38e8f9e8..4c74a3a0 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -424,8 +424,6 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data) alpm_pkg_t *spkg = i->data; for(j = spkg->removes; j; j = j->next) { remove = alpm_list_add(remove, j->data); - /* do not re-install a (replaced) package even if an update is available */ - trans->add = alpm_list_remove(trans->add, j->data, _alpm_pkg_cmp, NULL); } } |