mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 20:24:17 +08:00
Install init script in /etc/ instead of $sysconfdir
sysconfdir defaults to /usr/local/etc which is almost always the wrong choice. Fixes: #427
This commit is contained in:
parent
4cfbc27d4e
commit
a0b9cb9d76
@ -1,3 +1,9 @@
|
||||
Unreleased Changes
|
||||
==================
|
||||
|
||||
* The init script is now installed to /etc/ rather than /usr/local/etc
|
||||
by default.
|
||||
|
||||
libfuse 3.6.1 (2019-06-13)
|
||||
==========================
|
||||
|
||||
|
@ -40,14 +40,14 @@ install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
|
||||
"${DESTDIR}${udevrulesdir}/99-fuse3.rules"
|
||||
|
||||
install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
|
||||
"${DESTDIR}${sysconfdir}/init.d/fuse3"
|
||||
"${DESTDIR}/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
|
||||
else
|
||||
echo "== FURTHER ACTION REQUIRED =="
|
||||
echo "Make sure that your init system will start the ${sysconfdir}/init.d/fuse3 init script"
|
||||
echo "Make sure that your init system will start the ${DESTDIR}/etc/init.d/fuse3 init script"
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user