diff options
Diffstat (limited to 'debian/postrm')
-rw-r--r-- | debian/postrm | 16 |
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# |