Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not fall back on legacy repo if up to date
Baptiste Daroussin committed 12 years ago
commit 38673016b9c74191c2599b9b2be4106f5235b5a4
parent 4de650288c4a0ad94aec3050c1e79e288a384319
1 file changed +2 -1
modified libpkg/update.c
@@ -629,7 +629,8 @@ pkg_update(struct pkg_repo *repo, bool force)
		}
	}

-
	if (pkg_update_incremental(repofile, repo, &t) != EPKG_OK) {
+
	res = pkg_update_incremental(repofile, repo, &t);
+
	if (res != EPKG_OK && res != EPKG_UPTODATE) {
		pkg_emit_notice("No digest falling back on legacy catalog format");

		/* Still try to do full upgrade */