diff --git a/lib/repository_plist.c b/lib/repository_plist.c index 1d2b6869..e78fda23 100644 --- a/lib/repository_plist.c +++ b/lib/repository_plist.c @@ -146,11 +146,7 @@ xbps_get_path_from_pkg_dict_repo(prop_dictionary_t d, const char *uri) if (!prop_dictionary_get_cstring_nocopy(d, "filename", &filen)) return NULL; - if (xbps_check_is_repo_string_remote(uri)) - return xbps_xasprintf("%s/%s/%s", uri, arch, filen); - - return xbps_xasprintf("%s/%s/%s/%s", xbps_get_rootdir(), - uri, arch, filen); + return xbps_xasprintf("%s/%s/%s", uri, arch, filen); } prop_dictionary_t SYMEXPORT