Allow failure when installing udev rules

When testing make install in a container, or if being run with fakeroot,
it is possible that the udevadm commands may fail, which will abort the
install. Therefore, allow the udev install hook to always pass.
pull/26/head
nirenjan 2020-07-19 22:19:25 -07:00
parent 55c1fadba6
commit 53f9c33ffa
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ install-data-hook:
echo "Installing udev rules" && \ echo "Installing udev rules" && \
udevadm control --reload-rules && \ udevadm control --reload-rules && \
udevadm trigger --subsystem-match=usb --attr-match=idVendor=06a3 --action=add \ udevadm trigger --subsystem-match=usb --attr-match=idVendor=06a3 --action=add \
;fi ;fi ; true
endif endif
endif endif