summaryrefslogtreecommitdiffstats
path: root/debian-jessie/entrouvert-archive-keyring.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian-jessie/entrouvert-archive-keyring.postrm')
-rw-r--r--debian-jessie/entrouvert-archive-keyring.postrm38
1 files changed, 4 insertions, 34 deletions
diff --git a/debian-jessie/entrouvert-archive-keyring.postrm b/debian-jessie/entrouvert-archive-keyring.postrm
index b5f10eb..4cf83dc 100644
--- a/debian-jessie/entrouvert-archive-keyring.postrm
+++ b/debian-jessie/entrouvert-archive-keyring.postrm
@@ -1,41 +1,11 @@
#!/bin/sh
-# postrm script for test
-#
-# see: dh_installdeb(1)
set -e
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <overwriter>
-# <overwriter-version>
-# for details, see https://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- purge|remove)
- keyring=/etc/apt/trusted.gpg.d/entrouvert-archive.gpg
- test -f $keyring && rm $keyring
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
+if [ "$1" = "purge" ]
+then
+ rm -f /etc/apt/trusted.gpg.d/entrouvert-archive.gpg
+fi
#DEBHELPER#
-exit 0