aboutsummaryrefslogtreecommitdiffstats
path: root/util/install_helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/install_helper.sh')
-rwxr-xr-xutil/install_helper.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/install_helper.sh b/util/install_helper.sh
index 33f4a42..76f2b47 100755
--- a/util/install_helper.sh
+++ b/util/install_helper.sh
@@ -37,8 +37,10 @@ if $useroot; then
fi
fi
-install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
+if [ "${udevrulesdir}" != "" ]; then
+ install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
"${DESTDIR}${udevrulesdir}/99-fuse3.rules"
+fi
if [ "$initscriptdir" != "" ]; then
install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \