summaryrefslogtreecommitdiff
path: root/src/rpm
diff options
context:
space:
mode:
authorTomasz Paweł Gajc <tpgxyz@gmail.com>2022-05-28 21:38:33 +0200
committerTomasz Paweł Gajc <tpgxyz@gmail.com>2022-05-28 21:38:33 +0200
commit744984aa2dd715b739054bb11f4aba12d188476e (patch)
treefccd339ff0f03dcaa3d49d4fb6cac92cdbfdd82d /src/rpm
parent7bde8293a4f4ccfe4b5c5000869068e3c1ac45c6 (diff)
downloadsystemd-744984aa2dd715b739054bb11f4aba12d188476e.tar.gz
rpm: adjust lua trigger for udevadm
Diffstat (limited to 'src/rpm')
-rw-r--r--src/rpm/triggers.systemd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpm/triggers.systemd.in b/src/rpm/triggers.systemd.in
index 3d400c22c9..b563c7a739 100644
--- a/src/rpm/triggers.systemd.in
+++ b/src/rpm/triggers.systemd.in
@@ -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