xbps_pkg_index_plist: fix path to repository's index.plist.

This commit is contained in:
Juan RP 2011-12-15 15:34:51 +01:00
parent c60ab726a3
commit 1698bde3a4

View File

@ -214,7 +214,7 @@ get_pkg_index_remote_plist(const char *uri)
return NULL;
if (strcmp(xhp->rootdir, "/") == 0) {
repodir = xbps_xasprintf("%s/%s/%s",
repodir = xbps_xasprintf("/%s/%s/%s",
XBPS_META_PATH, uri_fixed, XBPS_PKGINDEX);
} else {
repodir = xbps_xasprintf("%s/%s/%s/%s",