libxbps: finish support for rindex 1.6.

This commit is contained in:
Juan RP
2012-12-07 17:11:52 +01:00
parent 14d1734a84
commit 1d42986b75
3 changed files with 6 additions and 4 deletions

View File

@ -179,7 +179,8 @@ get_pkg_index_remote_plist(struct xbps_handle *xhp,
if (uri_fixed == NULL)
return NULL;
repodir = xbps_xasprintf("%s/%s/%s", xhp->metadir, uri_fixed, plistf);
repodir = xbps_xasprintf("%s/%s/%s-%s", xhp->metadir,
uri_fixed, xhp->un_machine, plistf);
free(uri_fixed);
return repodir;
}