Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix pkg-devel self upgrade when remote repo defaults to non-devel
Bryan Drewery committed 11 years ago
commit 2f180f2acd0c9a5e87e66a4da07f15da5cc2e1b2
parent 2af307a
1 file changed +5 -0
modified libpkg/pkg_jobs.c
@@ -435,6 +435,11 @@ new_pkg_version(struct pkg_jobs *j)
		p = pkg_jobs_universe_get_local(j->universe, uid, 0);
	}

+
	if (p == NULL) {
+
		uid = "pkg-devel~ports-mgmt/pkg-devel";
+
		p = pkg_jobs_universe_get_local(j->universe, uid, 0);
+
	}
+

	/* you are using git version skip */
	if (p == NULL) {
		ret = false;