summarylogtreecommitdiffstats
path: root/30-systemd-hwdb.hook
diff options
context:
space:
mode:
authorRanieri Althoff2019-11-06 16:42:05 -0300
committerRanieri Althoff2019-11-06 21:01:11 -0300
commit72313ffd52f59617a9285dc403e4b8e40e5e952a (patch)
treecb87763f6d888603bc8381967cc9fb6aec7f9eb9 /30-systemd-hwdb.hook
downloadaur-72313ffd52f59617a9285dc403e4b8e40e5e952a.tar.gz
Initial commit
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