]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/aptconfiguration.cc
* apt-pkg/cdrom.{cc,h}:
[apt.git] / apt-pkg / aptconfiguration.cc
index e8c8e73d0b042919e408beb77f9f91d355323daf..9ccbeecf1c0f299f8d6f93f0bdb4953df2358a78 100644 (file)
@@ -352,7 +352,7 @@ std::vector<std::string> const Configuration::getArchitectures(bool const &Cache
 
        if (archs.empty() == true ||
            std::find(archs.begin(), archs.end(), arch) == archs.end())
-               archs.push_back(arch);
+               archs.insert(archs.begin(), arch);
 
        // erase duplicates and empty strings
        for (std::vector<string>::reverse_iterator a = archs.rbegin();