summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/metapackages/trinity-keyring/debian/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/metapackages/trinity-keyring/debian/prerm')
-rw-r--r--ubuntu/maverick/metapackages/trinity-keyring/debian/prerm29
1 files changed, 24 insertions, 5 deletions
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