Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not add to the universe remote packages as deps that are identical to local ones
Baptiste Daroussin committed 9 years ago
commit b1eda6cb5dc006048bc4774c063b6d36696dde87
parent 6e1d9f926fa91b2f85ed7bc55d0c1371d0cfc763
1 file changed +4 -2
modified libpkg/pkg_jobs_universe.c
@@ -335,7 +335,8 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,

				if (npkg != NULL) {
					/* Set reason for upgrades */
-
					pkg_jobs_need_upgrade(rpkg, npkg);
+
					if (!pkg_jobs_need_upgrade(rpkg, npkg))
+
						continue;
					/* Save automatic flag */
					rpkg->automatic = npkg->automatic;
				}
@@ -355,7 +356,8 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,

			if (npkg != NULL) {
				/* Set reason for upgrades */
-
				pkg_jobs_need_upgrade(rpkg, npkg);
+
				if (!pkg_jobs_need_upgrade(rpkg, npkg))
+
					continue;
				/* Save automatic flag */
				rpkg->automatic = npkg->automatic;
			}