Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix full repo update
Baptiste Daroussin committed 13 years ago
commit b0c2fd89308b642403ffee81079890197065ede8
parent c6284de
1 file changed +1 -1
modified libpkg/update.c
@@ -344,7 +344,7 @@ pkg_update_full(const char *repofile, struct pkg_repo *repo, time_t *mtime)
		goto cleanup;
	}

-
	if ((rc = remote_add_indexes(repofile)) != EPKG_OK)
+
	if ((rc = remote_add_indexes(pkg_repo_name(repo))) != EPKG_OK)
		goto cleanup;
	rc = EPKG_OK;