xbps_pkg_index_plist: fix path to repository's index.plist.
This commit is contained in:
parent
c60ab726a3
commit
1698bde3a4
@ -214,7 +214,7 @@ get_pkg_index_remote_plist(const char *uri)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (strcmp(xhp->rootdir, "/") == 0) {
|
if (strcmp(xhp->rootdir, "/") == 0) {
|
||||||
repodir = xbps_xasprintf("%s/%s/%s",
|
repodir = xbps_xasprintf("/%s/%s/%s",
|
||||||
XBPS_META_PATH, uri_fixed, XBPS_PKGINDEX);
|
XBPS_META_PATH, uri_fixed, XBPS_PKGINDEX);
|
||||||
} else {
|
} else {
|
||||||
repodir = xbps_xasprintf("%s/%s/%s/%s",
|
repodir = xbps_xasprintf("%s/%s/%s/%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user