libxbps: finish support for rindex 1.6.

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

No files matched your search

+2 -1
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;
}