mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
25 lines
884 B
Diff
25 lines
884 B
Diff
--- a/util/install_helper.sh 1970-01-01 01:00:01.000000000 +0100
|
|
+++ b/util/install_helper.sh 2017-09-21 23:43:50.703942577 +0200
|
|
@@ -11,19 +11,11 @@
|
|
udevrulesdir="$3"
|
|
prefix="${MESON_INSTALL_DESTDIR_PREFIX}"
|
|
|
|
-chown root:root "${prefix}/${bindir}/fusermount3"
|
|
-chmod u+s "${prefix}/${bindir}/fusermount3"
|
|
-
|
|
-if test ! -e "${DESTDIR}/dev/fuse"; then
|
|
- mkdir -p "${DESTDIR}/dev"
|
|
- mknod "${DESTDIR}/dev/fuse" -m 0666 c 10 229
|
|
-fi
|
|
-
|
|
install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
|
|
- "${DESTDIR}/${udevrulesdir}/99-fuse3.rules"
|
|
+ "${prefix}/${udevrulesdir}/99-fuse.rules"
|
|
|
|
install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
|
|
- "${DESTDIR}/etc/init.d/fuse3"
|
|
+ "${prefix}/etc/init.d/fuse3"
|
|
|
|
if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
|
|
/usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
|