Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Select candidates as soon as there are more than 2 of them
Baptiste Daroussin committed 11 years ago
commit 0edb6f6f16e9db6f27aace79c1f3f16b9cf27098
parent 7416145
1 file changed +1 -1
modified libpkg/pkg_jobs_universe.c
@@ -989,7 +989,7 @@ pkg_jobs_universe_process_upgrade_chains(struct pkg_jobs *j)
			 * if local != NULL, then we have unspecified upgrade path
			 */

-
			if ((local == NULL && vercnt > 1) || (vercnt > 2)) {
+
			if ((local == NULL && vercnt > 1) || (vercnt >= 2)) {
				/* Select the most recent or one of packages */
				struct pkg_job_universe_item *selected;