summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrew.shadura@collabora.co.uk>2020-01-13 10:48:08 +0100
committerAndrej Shadura <andrew.shadura@collabora.co.uk>2020-01-13 10:48:32 +0100
commit0327de2c1d5e939a9a252e231e58de4bf705149a (patch)
tree94c10849374c105f4b4d39267d94c2f357a42eb8
parent9ecebf562bc6f8759a687f44b2c28cd5556a75a8 (diff)
Fix erroneously inverted logic in postinstdebian/2%2.9-5
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/hostapd.postinst2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index f56268a..b51bc70 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+wpa (2:2.9-5) unstable; urgency=medium
+
+ * Fix erroneously inverted logic in postinst.
+
+ -- Andrej Shadura <andrewsh@debian.org> Mon, 13 Jan 2020 10:48:26 +0100
+
wpa (2:2.9-4) unstable; urgency=medium
[ Helmut Grohne ]
diff --git a/debian/hostapd.postinst b/debian/hostapd.postinst
index 3df1a97..1b4cc93 100755
--- a/debian/hostapd.postinst
+++ b/debian/hostapd.postinst
@@ -6,7 +6,7 @@ set -e
#DEBHELPER#
-if [ -d /run/systemd/system ] && [ "$1" = configure ] && [ -n "$DPKG_ROOT" ]
+if [ -d /run/systemd/system ] && [ "$1" = configure ] && [ -z "$DPKG_ROOT" ]
then
DAEMON_CONF=
. /etc/default/hostapd