]> git.tdb.fi Git - builder.git/commitdiff
This ugly hack for arch-specific binary packages is no longer needed
authorMikko Rasa <tdb@tdb.fi>
Wed, 15 Aug 2012 16:13:20 +0000 (19:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 15 Aug 2012 16:24:33 +0000 (19:24 +0300)
source/packagemanager.cpp

index 1a481fb17925a86bf03a6a47b0871fa39ca6e953..746755eaf2d36b4afac5273fbfc5fc9375c9f183 100644 (file)
@@ -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;