aboutsummaryrefslogtreecommitdiff
path: root/util/install_helper.sh
diff options
context:
space:
mode:
authorGravatar Heiko Becker <heirecka@exherbo.org>2017-07-28 17:33:56 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-02 20:36:11 +0200
commitf0ecf0c3e7d2250635d2293d07346fba3ef7647d (patch)
tree89514b37655addfcf082b7e8b1798d870ba0b6f8 /util/install_helper.sh
parentc0476a9f549e361787115b937ede2b82182da5d4 (diff)
Ask pkgconfig where we should install udev rules
Diffstat (limited to 'util/install_helper.sh')
-rwxr-xr-xutil/install_helper.sh3
1 files changed, 2 insertions, 1 deletions
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"