]> git.saurik.com Git - apt.git/commitdiff
ftparchive: Support writing Signed-By fields
authorJulian Andres Klode <jak@debian.org>
Sun, 1 May 2016 09:38:44 +0000 (11:38 +0200)
committerJulian Andres Klode <jak@debian.org>
Sun, 1 May 2016 09:38:44 +0000 (11:38 +0200)
ftparchive/writer.cc

index 894a1173b7e6d5bc8a09de538be0d3bf4045c873..d4b46042f81631a3232c4a96ee6fda8fc22e8470 100644 (file)
@@ -1019,6 +1019,7 @@ ReleaseWriter::ReleaseWriter(FileFd * const GivenOutput, string const &/*DB*/) :
    Fields["Architectures"] = "";
    Fields["Components"] = "";
    Fields["Description"] = "";
    Fields["Architectures"] = "";
    Fields["Components"] = "";
    Fields["Description"] = "";
+   Fields["Signed-By"] = "";
    if (_config->FindB("APT::FTPArchive::DoByHash", false) == true)
       Fields["Acquire-By-Hash"] = "true";
    
    if (_config->FindB("APT::FTPArchive::DoByHash", false) == true)
       Fields["Acquire-By-Hash"] = "true";