From: Mikko Rasa Date: Wed, 15 Aug 2012 16:13:20 +0000 (+0300) Subject: This ugly hack for arch-specific binary packages is no longer needed X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=241934daad13f83e86983b474dcadb0190e1cf0b;p=builder.git This ugly hack for arch-specific binary packages is no longer needed --- diff --git a/source/packagemanager.cpp b/source/packagemanager.cpp index 1a481fb..746755e 100644 --- a/source/packagemanager.cpp +++ b/source/packagemanager.cpp @@ -59,9 +59,7 @@ void PackageManager::add_package(Package *pkg) Package *PackageManager::find_package(const string &name) { - PackageMap::iterator i = packages.find(format("%s/%s", name, builder.get_current_arch().get_system())); - if(i==packages.end()) - i = packages.find(name); + PackageMap::iterator i = packages.find(name); if(i!=packages.end()) return i->second;