diff options
Diffstat (limited to 'sysctl.d')
-rw-r--r-- | sysctl.d/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysctl.d/meson.build b/sysctl.d/meson.build index e9b20ea540..e8d8fc8c53 100644 --- a/sysctl.d/meson.build +++ b/sysctl.d/meson.build @@ -26,5 +26,7 @@ foreach file : in_files install_dir : sysctldir) endforeach -meson.add_install_script('sh', '-c', - mkdir_p.format(join_paths(sysconfdir, 'sysctl.d'))) +if install_sysconfdir + meson.add_install_script('sh', '-c', + mkdir_p.format(join_paths(sysconfdir, 'sysctl.d'))) +endif |