Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
delete: consider base provides
Baptiste Daroussin committed 1 year ago
commit 94a852372379894bc1e4255d58a9ed91b26dcbd5
parent 750e275
1 file changed +3 -0
modified libpkg/pkg_jobs.c
@@ -483,6 +483,9 @@ delete_process_provides(struct pkg_jobs *j, struct pkg *lp, const char *provide,
	struct pkg_job_request *req;
	bool ret = true;

+
	/* check for pkgbase shlibs and provides */
+
	if (pkghash_get(j->system_shlibs, provide) != NULL)
+
		return (ret);
	/* if something else to provide the same thing we can safely delete */
	lit = provideq(j->db, provide);
	if (lit == NULL)