Просмотр исходного кода

fix typo preventing display of architecture in Info()

David Kalnischkies лет назад: 16
Родитель
Сommit
ff1ad6fdb0
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      apt-pkg/deb/debmetaindex.cc
  2. 1 0
      debian/changelog

+ 1 - 1
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 += " ";

+ 1 - 0
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: