Local libs that won't get replaced/redownloaded

This commit is contained in:
Petr Mrázek 2013-10-20 23:18:40 +02:00
parent aca7764afc
commit 32ce5c5c02

View File

@ -164,6 +164,8 @@ void OneSixUpdate::jarlibStart()
auto metacache = MMC->metacache(); auto metacache = MMC->metacache();
for (auto lib : libs) for (auto lib : libs)
{ {
if (lib->hint() == "local")
continue;
QString download_path = lib->downloadUrl(); QString download_path = lib->downloadUrl();
auto entry = metacache->resolveEntry("libraries", lib->storagePath()); auto entry = metacache->resolveEntry("libraries", lib->storagePath());
if (entry->stale) if (entry->stale)