Commit b2d26cbc authored by Bryan Drewery's avatar Bryan Drewery
Browse files

pkg-delete will always set PKG_FLAG_RECURSIVE if needed so use that instead here

parent 641cc274
......@@ -490,7 +490,7 @@ pkg_jobs_universe_process_item(struct pkg_jobs_universe *universe, struct pkg *p
case PKG_JOBS_DEINSTALL:
/* For delete jobs we worry only about local reverse deps */
flags |= DEPS_FLAG_REVERSE|DEPS_FLAG_FORCE_LOCAL;
if (!(job_flags & PKG_FLAG_FORCE))
if (job_flags & PKG_FLAG_RECURSIVE)
rc = pkg_jobs_universe_process_deps(universe, pkg, flags);
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment