let apt-key del work better with softlink and single key keyrings
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 12 Aug 2013 14:19:37 +0000 (16:19 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 12 Aug 2013 16:01:38 +0000 (18:01 +0200)
commit04937adc655ceda0b3367f540e76df10296cfba1
tree303abe83359ad2db9b15e7cd56892f6fe75d8973
parent804d4a0d92a2e107aad38198ac08f1d2d64b5e53
let apt-key del work better with softlink and single key keyrings

Having fragement files means there is a good chance that there is one
key per keyring, so deal with that as well as with setups in which
keyrings are linked into trusted.gpg.d as we can't just modify those
files (they might be in /usr for example).
cmdline/apt-key
test/integration/test-apt-key