From 3007b71a5c67dcc170fac8b8710c290a71f4af17 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 13 Sep 2019 22:08:58 +0200 Subject: Remove apt keyring leftover symlink, not required anymore by using signed-by now. Signed-off-by: Daniel Baumann --- debian/progress-linux.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst index 4750342..a1617f1 100755 --- a/debian/progress-linux.postinst +++ b/debian/progress-linux.postinst @@ -108,6 +108,11 @@ Remove_ssh_known_hosts () fi } +Remove_apt_keys () +{ + rm -f "/etc/apt/trusted.gpg.d/${PROJECT}.gpg" +} + case "${1}" in configure) . /usr/share/debconf/confmodule @@ -161,6 +166,9 @@ case "${1}" in # openssh-server Configure_ssh_known_hosts + + # upgrading from buster + Remove_apt_keys ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3