index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-06-10 14:40:25 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-10 21:41:06 -0400 |
commit | 8588b4823b579bc41909734f5a13a420d64487d6 (patch) | |
tree | 92f8e03efdd0c5aa82963eddde2531227a633947 /lib/libalpm/remove.c | |
parent | 07069cd50291753ff6a99750cce4ea3a5a06ddb6 (diff) |
-rw-r--r-- | lib/libalpm/remove.c | 2 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index ce7ef9e4..920739aa 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -115,7 +115,7 @@ int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data) alpm_list_t *i; for(i = lp; i; i = i->next) { pmdepmissing_t *miss = (pmdepmissing_t *)i->data; - pmpkg_t *info = _alpm_db_scan(db, miss->depend.name); + pmpkg_t *info = _alpm_db_scan(db, miss->target); if(info) { _alpm_log(PM_LOG_DEBUG, _("pulling %s in the targets list"), alpm_pkg_get_name(info)); trans->packages = alpm_list_add(trans->packages, info); |