diff --git a/lib/util.c b/lib/util.c index c3d39f27..70b78e36 100644 --- a/lib/util.c +++ b/lib/util.c @@ -215,7 +215,7 @@ get_pkg_index_remote_plist(const char *uri) repodir = xbps_xasprintf("%s/%s/%s", XBPS_META_PATH, uri_fixed, XBPS_PKGINDEX); } else { - repodir = xbps_xasprintf("%s/%s/%s", + repodir = xbps_xasprintf("%s/%s/%s/%s", prop_string_cstring_nocopy(xhp->rootdir), XBPS_META_PATH, uri_fixed, XBPS_PKGINDEX); }