1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/fuse/fuse3-install.patch

26 lines
950 B
Diff
Raw Normal View History

2019-07-10 12:20:40 +01:00
--- a/util/install_helper.sh 2019-07-10 12:00:15.984840142 +0200
+++ b/util/install_helper.sh 2019-07-10 12:28:56.343011401 +0200
@@ -37,10 +37,10 @@
2018-08-31 20:36:37 +01:00
fi
2017-09-22 01:13:05 +01:00
install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
2018-08-31 20:36:37 +01:00
- "${DESTDIR}${udevrulesdir}/99-fuse3.rules"
2019-07-10 12:20:40 +01:00
+ "${sysconfdir}${udevrulesdir}/99-fuse3.rules"
2017-09-22 01:13:05 +01:00
install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
2019-07-10 12:20:40 +01:00
- "${DESTDIR}/etc/init.d/fuse3"
+ "${sysconfdir}/init.d/fuse3"
if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
diff --git a/util/meson.build b/util/meson.build
index aa0e734..06d4378 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -1,4 +1,4 @@
-fuseconf_path = join_paths(get_option('prefix'), get_option('sysconfdir'), 'fuse.conf')
+fuseconf_path = join_paths('/', get_option('sysconfdir'), 'fuse.conf')
executable('fusermount3', ['fusermount.c', '../lib/mount_util.c'],
include_directories: include_dirs,