summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-11 18:58:54 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-11 18:58:54 +0200
commitff1ad6fdb01ad8d477ab711e4f6fe006d622f3bc (patch)
tree0fc45f485309a40e30caf686a5c643f74db4ef23
parentdd13742ef11a6a601a2e85afd9d80be92ed7513a (diff)
fix typo preventing display of architecture in Info()
-rw-r--r--apt-pkg/deb/debmetaindex.cc2
-rw-r--r--debian/changelog1
2 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index 7366bd624..717d0bcde 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -23,7 +23,7 @@ string debReleaseIndex::Info(const char *Type, string const &Section, string con
else
{
Info += Dist + '/' + Section;
- if (Arch.empty() == true)
+ if (Arch.empty() != true)
Info += " " + Arch;
}
Info += " ";
diff --git a/debian/changelog b/debian/changelog
index b506fa433..b0efc72e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ apt (0.7.26~exp10) UNRELEASED; urgency=low
Thanks Eric Valette! (Closes: #588610)
* apt-pkg/deb/debmetaindex.cc:
- do not query each architecture for flat file archives
+ - fix typo preventing display of architecture in Info()
[ Martin Pitt ]
* debian/rules: