cache: do not download files existing in local repository
wget:ing local files results in error and is useless.cute-signatures
parent
49f5d8cb01
commit
4b29ea2a08
|
@ -56,7 +56,7 @@ static int cache_download(struct apk_database *db)
|
|||
continue;
|
||||
|
||||
repo = apk_db_select_repo(db, pkg);
|
||||
if (repo == NULL)
|
||||
if (repo == NULL || apk_url_local_file(repo->url) != NULL)
|
||||
continue;
|
||||
|
||||
apk_pkg_format_plain(pkg, APK_BLOB_BUF(item));
|
||||
|
|
Loading…
Reference in New Issue