From 1698bde3a49fa91543a6fc7ed3ec4290959c8af8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 15 Dec 2011 15:34:51 +0100 Subject: [PATCH] xbps_pkg_index_plist: fix path to repository's index.plist. --- lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.c b/lib/util.c index 68ec1872..b714ec1d 100644 --- a/lib/util.c +++ b/lib/util.c @@ -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",