summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-18 22:07:11 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-18 22:07:11 +0000
commit119b3ab0437d83a483d46e43ce3e330b49f05096 (patch)
treefd64a9f9bd10d58e3a9dbfed1605c698da51cffe /lib/libalpm/remove.c
parent7b4e2cd25d20e331b66c5163e0d43fe7acd2a420 (diff)
downloadpacman-119b3ab0437d83a483d46e43ce3e330b49f05096.tar.xz
Moved the update_depends function to trans.c, as it depends on a transaction
object
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 64f0025e..e964df16 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -335,7 +335,7 @@ int _alpm_remove_commit(pmtrans_t *trans, pmdb_t *db)
}
/* update dependency packages' REQUIREDBY fields */
- _alpm_pkg_update_depends(info, 1 /*is a remove*/);
+ _alpm_trans_update_depends(trans, info);
PROGRESS(trans, PM_TRANS_PROGRESS_REMOVE_START, info->name, 100, alpm_list_count(trans->packages), (alpm_list_count(trans->packages) - alpm_list_count(targ) +1));
if(trans->type != PM_TRANS_TYPE_UPGRADE) {