summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-02 15:14:56 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-02 15:14:56 +0200
commite39e9ce9a52b31666aa99c5fa2ab94404f186ab4 (patch)
treefa40a093baf9505b9ace1bed404f7249641b384b /debian/postinst
parent5cc614d90d3150e26e87ac55c44cf6e358011156 (diff)
d/postinst: Remove now useless code for version less than 2.3.2-6
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst7
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/postinst b/debian/postinst
index af4e940..c377fc6 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -35,13 +35,6 @@ case "$1" in
[ -e /dev/net ] || mkdir -m 755 /dev/net
[ -d /dev/net -a ! -e /dev/net/tun ] && mknod /dev/net/tun c 10 200
fi
- # move /run/openvpn.foo.pid to (subdir) /run/openvpn/foo.pid
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 2.3.2-6 ; then
- mkdir -p /run/openvpn
- for f in $(ls /var/run/openvpn.*.pid /var/run/openvpn.*.status 2>/dev/null); do
- mv "$f" "/run/openvpn/$(basename $f | sed 's/^openvpn\.//')"
- done
- fi
for f in /run/sendsigs.omit.d/openvpn.*.pid; do
[ -e "$f" ] && continue
b="$(basename $f|sed 's/openvpn\.//')"