diff options
author | Michael Vogt <egon@debian-devbox> | 2011-07-25 15:54:03 +0200 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2011-07-25 15:54:03 +0200 |
commit | 35b55cbc1ccebe25a9e3cafd5f4fc1156bf79228 (patch) | |
tree | 190a33e013cbd0cfd96518707a3176aa44a64f13 /apt-pkg/aptconfiguration.cc | |
parent | 555a487afb510c561d094f27bb08119694e7388f (diff) | |
parent | 234675b71a2caab5c7cc0dc3b32a241683d3b3d2 (diff) |
merged from lp:~donkult/apt/sid0.8.15.3
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
-rw-r--r-- | apt-pkg/aptconfiguration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc index e8c8e73d0..9ccbeecf1 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -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(); |