Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Revert "Do not deprecate yet packagesite as we are not ready for that yet"
Baptiste Daroussin committed 12 years ago
commit 0f50cc29fd790532adf8f26c46c2e63c14363a4b
parent 96c7bb7
1 file changed +2 -0
modified libpkg/pkg_config.c
@@ -900,6 +900,8 @@ load_repositories(const char *repodir)
	pkg_config_string(PKG_CONFIG_MIRRORS, &mirror_type);

	if (url != NULL) {
+
		pkg_emit_error("PACKAGESITE in pkg.conf is deprecated. "
+
		    "Please create a repository configuration file");
		r = pkg_repo_new("packagesite", url);
		if (pub != NULL) {
			r->pubkey = strdup(pub);