about summary refs log tree commit diff
path: root/debian/patches/Use-the-correct-path-when-calling-dnssec-trigger-scr.patch
blob: b5241593746925990db024cce6fb94d44bff9c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Arto Jantunen <viiru@debian.org>
Date: Sat, 27 Sep 2014 11:13:32 +0300
Subject: Use the correct path when calling dnssec-trigger-script

Debian systems don't have /usr/libexec, so the script is installed in
a different path.
---
 src/dns-manager/nm-dns-unbound.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dns-manager/nm-dns-unbound.c b/src/dns-manager/nm-dns-unbound.c
index 5723bf8..2dcc220 100644
--- a/src/dns-manager/nm-dns-unbound.c
+++ b/src/dns-manager/nm-dns-unbound.c
@@ -42,7 +42,7 @@ update (NMDnsPlugin *plugin,
 	 * without calling custom scripts. The dnssec-trigger functionality
 	 * may be eventually merged into NetworkManager.
 	 */
-	return nm_spawn_process ("/usr/libexec/dnssec-trigger-script --async --update", NULL) == 0;
+	return nm_spawn_process ("/usr/lib/dnssec-trigger/dnssec-trigger-script --async --update", NULL) == 0;
 }
 
 static gboolean