From 50030f778a59394c5aab2ee484e0123f88581fcc Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 3 Jan 2007 06:13:08 +0000 Subject: * Bug fix FS#6058 properly remove entries from "Required By" instead of wiping it out entirely --- lib/libalpm/remove.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/remove.c') 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; -- cgit v1.2.3-54-g00ecf