diff options
author | Gioele Barabucci <gioele@svario.it> | 2023-07-23 16:52:31 +0200 |
---|---|---|
committer | Teemu Ikonen <tpikonen@mailbox.org> | 2023-09-01 13:04:02 +0000 |
commit | d2bf3c37651205d25783958531aa841644db3ab2 (patch) | |
tree | d3c6009b0645212b95b4be4f3b4b782d85a07880 | |
parent | 6919a0b25b2ecfdd78bed7034ecc88f0cdbc4a08 (diff) |
data/meson.build: Install D-Bus policy in /usr/share, not /etc
From https://bugs.debian.org/1006631:
> dbus supports policy files in both `/usr/share/dbus-1/system.d` and
> `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`.
-rw-r--r-- | data/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/meson.build b/data/meson.build index 6ac2a11..a0bb138 100644 --- a/data/meson.build +++ b/data/meson.build @@ -37,7 +37,7 @@ if get_option('enable-backend') # DBus Service policy file dbus_service_dir = get_option('dbus-sys-dir') if dbus_service_dir == '' - dbus_service_dir = join_paths(sysconfdir, 'dbus-1', 'system.d') + dbus_service_dir = join_paths(datadir, 'dbus-1', 'system.d') endif configure_file(output: 'org.freedesktop.GeoClue2.conf', input: 'org.freedesktop.GeoClue2.conf.in', |