mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
25 lines
697 B
Diff
25 lines
697 B
Diff
|
diff --git a/data/meson.build b/data/meson.build
|
||
|
index fc687a5..68decdf 100644
|
||
|
--- a/data/meson.build
|
||
|
+++ b/data/meson.build
|
||
|
@@ -1,5 +1,6 @@
|
||
|
datadir = get_option('datadir')
|
||
|
sysconfdir = get_option('sysconfdir')
|
||
|
+libdir = get_option('libdir')
|
||
|
|
||
|
# LICENSE
|
||
|
install_data(
|
||
|
@@ -41,11 +42,7 @@ configure_file(
|
||
|
|
||
|
# Systemd service unit
|
||
|
systemd = dependency('systemd', required: false)
|
||
|
-if systemd.found()
|
||
|
- systemd_service_install_dir = systemd.get_variable(pkgconfig :'systemdsystemunitdir')
|
||
|
-else
|
||
|
- systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
|
||
|
-endif
|
||
|
+systemd_service_install_dir = join_paths(libdir, 'systemd', 'system')
|
||
|
|
||
|
configure_file(
|
||
|
configuration: conf_data,
|