vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / os-specific / linux / fuse / fuse3-install.patch
blob769e3088664cd0c15fdc8d2eba700bfca792ec8a
1 --- a/util/install_helper.sh 2023-08-26 22:12:11.028651669 +0200
2 +++ b/util/install_helper.sh 2023-08-26 22:38:03.165058694 +0200
3 @@ -39,12 +39,12 @@
5 if [ "${udevrulesdir}" != "" ]; then
6 install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
7 - "${DESTDIR}${udevrulesdir}/99-fuse3.rules"
8 + "${sysconfdir}${udevrulesdir}/99-fuse3.rules"
9 fi
11 if [ "$initscriptdir" != "" ]; then
12 install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
13 - "${DESTDIR}${initscriptdir}/fuse3"
14 + "${sysconfdir}${initscriptdir}/fuse3"
16 if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
17 /usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
18 diff --git a/util/meson.build b/util/meson.build
19 index aa0e734..06d4378 100644
20 --- a/util/meson.build
21 +++ b/util/meson.build
22 @@ -1,4 +1,4 @@
23 -fuseconf_path = join_paths(get_option('prefix'), get_option('sysconfdir'), 'fuse.conf')
24 +fuseconf_path = join_paths('/', get_option('sysconfdir'), 'fuse.conf')
26 executable('fusermount3', ['fusermount.c', '../lib/mount_util.c'],
27 include_directories: include_dirs,