summarylogtreecommitdiffstats
path: root/30-systemd-hwdb.hook
diff options
context:
space:
mode:
authorChris Down2019-09-25 16:33:17 +0100
committerChris Down2019-09-25 16:33:17 +0100
commit2751df2badb565b721b8749b6fa32e46fa03e210 (patch)
tree85c5caa23b7f46a6c172f9d37869f7a353cf20ae /30-systemd-hwdb.hook
parent345301e8bcd4b38bd621138b82008c0f20f6f46b (diff)
downloadaur-2751df2badb565b721b8749b6fa32e46fa03e210.tar.gz
upgpkg: systemd-cdown-git 243.r129.g82d1264048-1
Diffstat (limited to '30-systemd-hwdb.hook')
-rw-r--r--30-systemd-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/30-systemd-hwdb.hook b/30-systemd-hwdb.hook
new file mode 100644
index 00000000000..f0440b0a645
--- /dev/null
+++ b/30-systemd-hwdb.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/udev/hwdb.d/*
+
+[Action]
+Description = Updating udev hardware database...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook hwdb