1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

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

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