summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-02 15:03:34 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-02 15:03:34 +0200
commit5cc614d90d3150e26e87ac55c44cf6e358011156 (patch)
tree46a69da7efdb1adb46bab77eaacefaa612920bff /debian
parent2b447029449656287ebaf9bd95fe38e2f94b4bb6 (diff)
Remove restart from debian/postinst; Migrate to debhelper 13
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--debian/postinst9
3 files changed, 3 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog
index d75b554..0e0ee0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ openvpn (2.4.9-3) UNRELEASED; urgency=medium
"ERROR: Cannot ioctl TUNSETIFF tunX: Device or resource busy (errno=16)"
- debian/rules: Change dh_installsystemd from "--restart-after-upgrade" to
"--no-restart-after-upgrade -r".
+ - Remove restart from debian/postinst.
+ * Migrate to debhelper 13:
-- Jörg Frings-Fürst <debian@jff.email> Sat, 02 May 2020 12:11:51 +0200
diff --git a/debian/control b/debian/control
index 5efa571..43f6a50 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Bernhard Schmidt <berni@debian.org>
Uploaders: Jörg Frings-Fürst <debian@jff.email>
Build-Depends:
- debhelper-compat (= 12),
+ debhelper-compat (= 13),
dpkg-dev (>= 1.16.1),
iproute2 [linux-any],
liblz4-dev,
diff --git a/debian/postinst b/debian/postinst
index 648e671..af4e940 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -52,15 +52,6 @@ case "$1" in
;;
esac
-if [ -x "/etc/init.d/openvpn" ]; then
- pathfind invoke-rc.d
- if [ $? = 0 ]; then
- invoke-rc.d openvpn cond-restart || invoke-rc.d openvpn restart
- else
- /etc/init.d/openvpn cond-restart || /etc/init.d/openvpn restart
- fi
-fi
-
db_stop
#DEBHELPER#