From f0ecf0c3e7d2250635d2293d07346fba3ef7647d Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Fri, 28 Jul 2017 17:33:56 +0200 Subject: Ask pkgconfig where we should install udev rules --- util/install_helper.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util/install_helper.sh') diff --git a/util/install_helper.sh b/util/install_helper.sh index 9b53530..b3c12f0 100755 --- a/util/install_helper.sh +++ b/util/install_helper.sh @@ -8,6 +8,7 @@ set -e sysconfdir="$1" bindir="$2" +udevrulesdir="$3" prefix="${MESON_INSTALL_DESTDIR_PREFIX}" chown root:root "${prefix}/${bindir}/fusermount3" @@ -19,7 +20,7 @@ if test ! -e "${DESTDIR}/dev/fuse"; then fi install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \ - "${prefix}/lib/udev/rules.d/99-fuse3.rules" + "${DESTDIR}/${udevrulesdir}/udev/rules.d/99-fuse3.rules" install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \ "${DESTDIR}/etc/init.d/fuse3" -- cgit v1.2.3