From 0c2f8a56ca10b0ac05eba3f2ef5c2041f43a4232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Jun 2014 17:10:55 +0200 Subject: Added removal of old GPG key in trinity-keyring on Debian and Ubuntu Cleanup build rules --- .../metapackages/trinity-keyring/debian/prerm | 29 ++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'ubuntu/maverick/metapackages/trinity-keyring/debian/prerm') diff --git a/ubuntu/maverick/metapackages/trinity-keyring/debian/prerm b/ubuntu/maverick/metapackages/trinity-keyring/debian/prerm index 4af539bb3..5b746100f 100644 --- a/ubuntu/maverick/metapackages/trinity-keyring/debian/prerm +++ b/ubuntu/maverick/metapackages/trinity-keyring/debian/prerm @@ -1,9 +1,28 @@ #!/bin/sh +# prerm script for trinity-keyring + +set -e case "$1" in - remove|purge) - if [ -x /usr/bin/apt-key ]; then - /usr/bin/apt-key del 2B8638D0 - fi - ;; + remove) + if [ -x /usr/bin/apt-key ]; then + # Key F5CFC95C (2014.06.08) + apt-key del F5CFC95C 2> /dev/null || true + fi + ;; + + upgrade|failed-upgrade|deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 -- cgit v1.2.1