summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..970a802
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -e
+
+
+
+case "$1" in
+ purge|remove)
+
+#
+# remove obsolete directory
+# new at release 2.4.4-1
+#
+ if [ -d /usr/lib/openvpn ]; then
+ rmdir --ignore-fail-on-non-empty /usr/lib/openvpn
+ fi
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
+