1From 592de67191a3969fcccef6293740c7142793d461 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
3Date: Wed, 1 Nov 2023 21:54:05 +0100
4Subject: [PATCH] skip installing example configuration
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This requires root if prefix dir is pointed to /etc,
10which we cannot do in nix builds.
11
12Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
13---
14 meson.build | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-)
16
17diff --git a/meson.build b/meson.build
18index 5f5935f..8373013 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -114,10 +114,10 @@ else
22 runstatedir = rundir
23 endif
24
25-install_data(
26- sources: 'ksmbd.conf.example',
27- install_dir: get_option('sysconfdir') / 'ksmbd',
28-)
29+#install_data(
30+# sources: 'ksmbd.conf.example',
31+# install_dir: get_option('sysconfdir') / 'ksmbd',
32+#)
33
34 systemdsystemunitdir = get_option('systemdsystemunitdir')
35 if systemdsystemunitdir == ''
36--
372.42.0
38