Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
upgrade: only upgrade install things on partial upgrades
Baptiste Daroussin committed 8 months ago
commit f37bdacf6df1d4a5276121fab6432d87236cbe5f
parent 2a5fae5
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -1008,7 +1008,7 @@ pkg_jobs_find_remote_pattern(struct pkg_jobs *j, struct job_pattern *jp)
	struct pkg_job_request *req;

	if (!(jp->flags & PKG_PATTERN_FLAG_FILE)) {
-
		if (j->type == PKG_JOBS_UPGRADE && jp->match == MATCH_INTERNAL) {
+
		if (j->type == PKG_JOBS_UPGRADE && (jp->match == MATCH_INTERNAL || jp->match == MATCH_EXACT)) {
			/*
			 * For upgrade patterns we must ensure that a local package is
			 * installed as well.  This only works if we're operating on an