Blob Blame History Raw
From 4bb3c21203c59d454004dd004aa4bf923c868b04 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Thu, 22 Aug 2019 16:44:58 +0200
Subject: [PATCH] Move the NetworkManager dispatcher script out of /etc

It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.
---
 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 2ca7474..d2e9a17 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,6 @@ project(
     'io.elementary.capnet-assist',
     'vala', 'c',
     version: '2.2.3',
-    default_options: 'sysconfdir=/etc'
 )
 
 i18n = import('i18n')
@@ -36,5 +35,5 @@ subdir('po')
 
 install_data(
     '90captive_portal_test',
-    install_dir: join_paths(get_option('sysconfdir'), 'NetworkManager', 'dispatcher.d')
+    install_dir: join_paths(get_option('prefix'), 'lib', 'NetworkManager', 'dispatcher.d')
 )
-- 
2.23.0