diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-12 17:26:54 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-12 18:01:38 +0200 |
commit | ec9272975f454d3911e61e5cc3b29fe90fe2ee54 (patch) | |
tree | 7bf3cb3495e1e1a9c22f3b0e2752809940dd9a91 /debian | |
parent | 04937adc655ceda0b3367f540e76df10296cfba1 (diff) |
do not call 'apt-key update' in apt.postinst
The debian-archive-keyring package ships trusted.gpg.d fragment files
for a while now and dropped their call to 'apt-key update', so there is
no need for use to call it as the keys will always be available.
This also finally allows a user to remove key(ring)s without APT to
overriding this decision by readding them with this step.
The functionality is kept around in the odd case that an old
debian-archive-keyring package is used which still calls 'apt-key
update' and depends on the import (hence, we also do not enforce a newer
version of the debian-archive-keyring via our dependencies)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.postinst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst index caa05ccdf..70de237d0 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -25,7 +25,6 @@ case "$1" in rm -f $SECRING fi fi - apt-key update # ensure tighter permissons on the logs, see LP: #975199 if dpkg --compare-versions "$2" lt-nl 0.9.7.7; then |