summaryrefslogtreecommitdiff
path: root/debian/apt.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.postinst')
-rw-r--r--debian/apt.postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst
index cc0d8b1fe..773077aa5 100644
--- a/debian/apt.postinst
+++ b/debian/apt.postinst
@@ -15,7 +15,9 @@ set -e
case "$1" in
configure)
- apt-key update
+ if ! test -f /etc/apt/trusted.gpg; then
+ cp /usr/share/apt/ubuntu-archive.gpg /etc/apt/trusted.gpg
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)