summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-13 20:08:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-09-13 20:08:58 +0000
commit3007b71a5c67dcc170fac8b8710c290a71f4af17 (patch)
tree86f6f1e6c8d825e3669ee674b1c7295fdcd8f440
parentReleasing debian version 20190101-7. (diff)
downloadprogress-linux-3007b71a5c67dcc170fac8b8710c290a71f4af17.tar.xz
progress-linux-3007b71a5c67dcc170fac8b8710c290a71f4af17.zip
Remove apt keyring leftover symlink, not required anymore by using signed-by now.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/progress-linux.postinst8
1 files changed, 8 insertions, 0 deletions
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)