From 8be3efa36165e8d30b591831a093c3524014c7c4 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 9 Jan 2017 14:17:35 +0100 Subject: Revert "trivial: Prevent recusion when a package lists itself as a dep" Commit 49749de0bd597e5e9fe5e4b92875d6730a7b6968 fixed this in a more general way. This reverts commit b04fb193dad0e6e977d9bda2487bd50075f8f61c. --- libappstream-builder/asb-task.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c index d26366b..41e334d 100644 --- a/libappstream-builder/asb-task.c +++ b/libappstream-builder/asb-task.c @@ -168,10 +168,6 @@ asb_task_get_extra_deps_recursive (AsbTask *task, for (guint i = 0; i < subpkg_deps->len; i++) { const gchar *subpkg_dep = g_ptr_array_index (subpkg_deps, i); - /* same as the parent? */ - if (g_strcmp0 (subpkg_dep, dep) == 0) - continue; - /* already processed? */ if (g_hash_table_lookup (extra_deps->results_hash, subpkg_dep) != NULL) continue; -- cgit v1.2.1