nixpkgs-suyu/pkgs/applications/misc/avizo/use-sysconfdir-instead-of-etc.patch
Nicolas Berbiche 1c7b2186e2
avizo: unstable-2021-07-21 -> 1.1
Includes a temporary `meson.build` patch that will need to be
removed on the next update.
2022-01-09 23:01:51 -05:00

15 lines
499 B
Diff

diff --git a/meson.build b/meson.build
index 1c789be..cd4b07a 100644
--- a/meson.build
+++ b/meson.build
@@ -12,7 +12,9 @@ app_resources_service = gnome.compile_resources(
source_dir : '.',
c_name : 'avizo_resources')
-install_data('config.ini', install_dir: '/etc/xdg/avizo')
+sysconfdir = get_option('sysconfdir')
+
+install_data('config.ini', install_dir: join_paths(sysconfdir, 'xdg/avizo'))
install_data('volumectl', install_dir: 'bin')
install_data('lightctl', install_dir: 'bin')