diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-03 06:13:08 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-03 06:13:08 +0000 |
commit | 50030f778a59394c5aab2ee484e0123f88581fcc (patch) | |
tree | 1ad3c4429a29fd4db0fcbc89240b3618905616f2 /lib/libalpm/remove.c | |
parent | 65e086e0e31ff0b09c33adc06fd1a43581f5f36a (diff) | |
download | pacman-50030f778a59394c5aab2ee484e0123f88581fcc.tar.xz |
* Bug fix FS#6058
properly remove entries from "Required By" instead of wiping it out entirely
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 84c5da2f..7d827e8f 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -325,6 +325,8 @@ int _alpm_remove_commit(pmtrans_t *trans, pmdb_t *db) continue; } } + /* Ensure package has the appropriate data */ + _alpm_db_read(db, INFRQ_DEPENDS, depinfo); /* splice out this entry from requiredby */ depinfo->requiredby = _alpm_list_remove(depinfo->requiredby, info->name, str_cmp, &vdata); data = vdata; |