aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/sync.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 295b46f..cb5f03f 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -960,9 +960,10 @@ namespace bdep
if (empty)
{
// Note that we keep empty origin configurations if we have any
- // dependencies to upgrade (see below for details).
+ // dependencies to upgrade or we deinitialize some packages (see
+ // below for details).
//
- if (dep_pkgs.empty ())
+ if (dep_pkgs.empty () && deinit_pkgs.empty ())
continue;
else
{