aboutsummaryrefslogtreecommitdiffstats
path: root/src/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/action.c')
-rw-r--r--src/action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/action.c b/src/action.c
index 2a7ad07..5f3a1ef 100644
--- a/src/action.c
+++ b/src/action.c
@@ -278,7 +278,10 @@ void slapt_pkg_action_remove(const slapt_rc_config *global_config,
}
- deps = slapt_is_required_by(global_config,avail_pkgs,pkg);
+ deps = slapt_is_required_by(global_config,
+ avail_pkgs, installed_pkgs,
+ tran->install_pkgs, tran->remove_pkgs,
+ pkg);
for (c = 0; c < deps->pkg_count; ++c) {
slapt_pkg_info_t *dep = deps->pkgs[c];