diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-03-14 08:29:50 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-03-14 08:29:50 +0000 |
| commit | d010239daab81ca027be332f1b5372eaf9dbbeb6 (patch) | |
| tree | 7e85a693b39feb8a58c0232d7920c1e0eed1b598 /cmdline | |
| parent | db5267cc17b3b2e6ded25da60adc030124950ae4 (diff) | |
| parent | f866dac363c6a22fe1b35baddf126b39a405410e (diff) | |
Merge branch 'indextargets-signed-by' into 'main'
apt-pkg/solver3.h: avoid static_assert(false) and signed-by in apt-get indextargets
See merge request apt-team/apt!464
Diffstat (limited to 'cmdline')
| -rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 2828ad68a..ae2356325 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -263,6 +263,8 @@ static bool DoIndexTargets(CommandLine &CmdL) if (ReleaseInfo) { AddOptions.insert(std::make_pair("TRUSTED", ((*S)->IsTrusted() ? "yes" : "no"))); + if (not (*S)->GetSignedBy().empty()) + AddOptions.insert(std::make_pair("SIGNED_BY", SubstVar(SubstVar(APT::String::Strip((*S)->GetSignedBy()), "\n\n", "\n.\n"), "\n", "\n "))); pkgCache::RlsFileIterator const RlsFile = (*S)->FindInCache(*Cache, false); if (RlsFile.end()) continue; |
