summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-03 09:56:53 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-03 09:56:53 +0200
commit576d45b309817097c004e9bb347513629cddcffb (patch)
tree07fb367eeb4521589dbbfe83c32d8d31c3806540 /debian/postrm
parent6543da4b81c14a995d4b8c81d311554376b71054 (diff)
Remove obsolete directory /usr/lib/openvpn
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..c19a935
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+
+if [ "$1" = purge ] ; then
+
+# remove obsolete directory
+ if [ -d /usr/lib/openvpn ]; then
+ rmdir --ignore-fail-on-non-empty /usr/lib/openvpn
+ fi
+
+fi
+
+#DEBHELPER#
+
+exit 0
+