summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-03 10:18:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-03 10:18:13 +0200
commit46aa869cd4bbb466e9d02322898ccbe7a895ab45 (patch)
tree24f5f4dc2e84b4ebd21872c047e00a1faa71eee3 /debian/postrm
parent576d45b309817097c004e9bb347513629cddcffb (diff)
Rewrite d/changelog and d/postrm
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm16
1 files changed, 11 insertions, 5 deletions
diff --git a/debian/postrm b/debian/postrm
index c19a935..970a802 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -2,14 +2,20 @@
set -e
-if [ "$1" = purge ] ; then
+case "$1" in
+ purge|remove)
+
+#
# remove obsolete directory
- if [ -d /usr/lib/openvpn ]; then
- rmdir --ignore-fail-on-non-empty /usr/lib/openvpn
- fi
+# new at release 2.4.4-1
+#
+ if [ -d /usr/lib/openvpn ]; then
+ rmdir --ignore-fail-on-non-empty /usr/lib/openvpn
+ fi
+ ;;
-fi
+esac
#DEBHELPER#