Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Only consider a new version of pkg exists if a version has been push in the bulk
Baptiste Daroussin committed 12 years ago
commit de63b9f3b36be467249f36cd7ecb48e311f178ef
parent d49a027
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -526,7 +526,7 @@ new_pkg_version(struct pkg_jobs *j)
	if (p == NULL)
		return (false);

-
	if (get_remote_pkg(j, origin, MATCH_EXACT, false) == EPKG_OK)
+
	if (get_remote_pkg(j, origin, MATCH_EXACT, false) == EPKG_OK && HASH_COUNT(j->bulk) == 1)
		return (true);

	return (false);