rpm: adjust lua trigger for udevadm

This commit is contained in:
Tomasz Paweł Gajc
2022-05-28 21:38:33 +02:00
parent 7bde8293a4
commit 744984aa2d
+1 -1
View File
@@ -105,7 +105,7 @@ assert(rpm.execute("systemd-tmpfiles", "--create"))
%transfiletriggerin -P 1000600 udev -p <lua> -- {{UDEV_RULES_DIR}}
-- This script will automatically update udev with new rules if files
-- have been installed or updated in {{UDEV_RULES_DIR}}.
if posix.access("/run/systemd/system") then
if posix.access("/run/udev/control") then
assert(rpm.execute("udevadm", "control", "--reload"))
end