Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Give advice on how to recreate the database if auto-updating was skipped
Bryan Drewery committed 11 years ago
commit 9b88c3a2ac7f2d59825f6eacd17f88f2883b2bf2
parent 88b91d4
1 file changed +3 -1
modified libpkg/pkgdb.c
@@ -873,7 +873,9 @@ pkgdb_open_repos(struct pkgdb *db, const char *reponame)
				r->ops->init(r);
				item->repo = r;
				LL_PREPEND(db->repos, item);
-
			}
+
			} else
+
				pkg_emit_error("Repository %s cannot be opened."
+
				    " 'pkg update' required", r->name);
		}
	}