summaryrefslogtreecommitdiff
path: root/apt-private/private-utils.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-12-31 03:50:06 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-12-31 03:50:06 +0100
commit9544398fce600fb62762c05a8a84231fd1a365b4 (patch)
treecccb08b756d96b81a72e16e7d7dc9cf282e2a104 /apt-private/private-utils.cc
parentc15ba854b6736696f164e4d2c243a944e2d4006e (diff)
apt-key: ignore gpg1 already imported secret key import failure
On Travis and co the default gpg implementation is gpg1 which for some reason fails if a secret key which was already imported is imported again. We would prefer it to be a NOP like gpg2 handles it so we crudely check the error message. apt-key usually doesn't deal with secret keys – it only learned to do it for manual testing and the integration framework usage, so no public interface is effected. Triggered-By: 4ce2f35248123ff2366c8c365ad6a94945578d66 Gbp-Dch: Ignore
Diffstat (limited to 'apt-private/private-utils.cc')
0 files changed, 0 insertions, 0 deletions