diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-06 17:56:28 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-27 00:12:14 +0200 |
commit | 33a2267214eed2a11281c9f93b8cf10b4c436d94 (patch) | |
tree | e239bc47e3e1f13fa5b8cf37235a2d91167aa2dd /apt-pkg/contrib | |
parent | 0dae96a2b5e8ecd80a1b6e44961f1692ad4aec15 (diff) |
add --readonly option for apt-key adv
Some advanced commands can be executed without the keyring being
modified like --verify, so this adds an option to disable the mergeback
and uses it for our gpg calling code.
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/gpgv.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc index 56e26ab99..cd17cd536 100644 --- a/apt-pkg/contrib/gpgv.cc +++ b/apt-pkg/contrib/gpgv.cc @@ -54,6 +54,7 @@ void ExecGPGV(std::string const &File, std::string const &FileGPG, Args.push_back(aptkey.c_str()); Args.push_back("--quiet"); + Args.push_back("--readonly"); Args.push_back("adv"); char statusfdstr[10]; |