summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-03-18 20:38:49 +0100
committerLubomir Rintel <lkundrak@v3.sk>2018-05-14 16:05:12 +0200
commit320422e4cf47e6ea36023294fa926f8c8c99d127 (patch)
treefa98f095bf4b57592e141b1a984ad7b52104648a /libnm-glib
parentbade13129bac52698d3add3658f39316e1a45f3f (diff)
build: qualify plugin dir name with a version string
This makes package updates more robust, avoiding in-place replaces of the plugins. Previously, if an upgrade transaction was terminated, NetworkManager library could end up being of a different version than the plugins. If the user was unfortunate enough to connect using a connection that required a plugin (say, Wi-Fi), he would be left without a network connection making it somewhat inconvenient to recover from the botched upgrade. This makes the whole situation a little bit less sad. The VPN plugins are kept where they always have been -- the path is not qualified with a version number.
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-glib/meson.build b/libnm-glib/meson.build
index 3fc14d547..9583362b6 100644
--- a/libnm-glib/meson.build
+++ b/libnm-glib/meson.build
@@ -287,7 +287,7 @@ pkg.generate(
variables: [
'exec_prefix=${prefix}',
'libgnome_serverdir=' + nm_libexecdir,
- 'plugindir=' + nm_plugindir,
+ 'plugindir=' + nm_vpndir,
'configdir=' + nm_pkgconfdir
]
)