1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- config/meson.build.orig 2024-09-24 08:58:45 UTC
+++ config/meson.build
@@ -7,39 +7,17 @@ custom_target(
custom_target(
'dbus_session',
input: 'dbus-session.conf.tmpl',
- output: 'dbus-session.conf',
+ output: 'dbus-session.conf.netatalk',
command: sed_command,
capture: true,
install: true,
install_dir: pkgconfdir,
)
-if (
- fs.exists(pkgconfdir / 'afp.conf')
- and not get_option('with-overwrite')
-)
- message('will not replace existing', pkgconfdir / 'afp.conf')
-else
- install_data(afp_conf, install_dir: pkgconfdir)
-endif
+install_data(afp_conf, rename: 'afp.conf.sample', install_dir: pkgconfdir)
+install_data('extmap.conf', rename: 'extmap.conf.sample', install_dir: pkgconfdir)
-if (
- fs.exists(pkgconfdir / 'extmap.conf')
- and not get_option('with-overwrite')
-)
- message('will not replace existing', pkgconfdir / 'extmap.conf')
-else
- install_data('extmap.conf', install_dir: pkgconfdir)
-endif
-
-if (
- fs.exists(dbus_sysconfpath / 'netatalk-dbus.conf')
- and not get_option('with-overwrite')
-)
- message('will not replace existing', dbus_sysconfpath / 'netatalk-dbus.conf')
-else
- install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath)
-endif
+install_data('netatalk-dbus.conf', install_dir: dbus_sysconfpath)
if (
fs.exists('/etc/ld.so.conf.d')
|