Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add repo version 3 to the grandfathering
Matthew Seaman committed 13 years ago
commit 90fb177d24ba3e4182bd51a79b8713ea2f26f934
parent a075c05
1 file changed +2 -0
modified libpkg/pkg_repo.c
@@ -849,6 +849,8 @@ pkg_check_repo_version(struct pkgdb *db, const char *database)
	   so this patch doesn't immediately invalidate all the repos out there */
	if (reposcver == 2)
		reposcver = 2000;
+
	if (reposcver == 3)
+
		reposcver = 2001;

	if (reposcver > REPO_SCHEMA_VERSION) {
		pkg_emit_error("Repo %s (schema version %d) is too new - we can "