summarylogtreecommitdiffstats
path: root/udev-hwdb.hook
diff options
context:
space:
mode:
authorChris Cromer2016-09-04 16:31:33 -0300
committerChris Cromer2016-09-04 16:31:33 -0300
commit1c5eac5d779c20dcb73b1e488a713f50e899a251 (patch)
treee42a3c56d210e684df61c112be3e26aa9b78f48b /udev-hwdb.hook
parent2b00eb01e95716719678906b0c006f3fed3c9ad6 (diff)
downloadaur-1c5eac5d779c20dcb73b1e488a713f50e899a251.tar.gz
updated to 3.2
Diffstat (limited to 'udev-hwdb.hook')
-rw-r--r--udev-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/udev-hwdb.hook b/udev-hwdb.hook
new file mode 100644
index 000000000000..7bc055b4e777
--- /dev/null
+++ b/udev-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/bin/udevadm hwdb --update