summaryrefslogtreecommitdiff
path: root/pcr/eudev/udev-hwdb.hook
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-29 14:12:58 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-08-29 14:12:58 -0500
commit50ffb3759662154169c52644799fbc110dad0fab (patch)
treee184b286dcb5eb9fcc99774daba544aff4692d25 /pcr/eudev/udev-hwdb.hook
parentac81c495bfe06857aafa76301476e2bd9f5a3ed7 (diff)
eudev-3.2-4: split and rebuild
Diffstat (limited to 'pcr/eudev/udev-hwdb.hook')
-rw-r--r--pcr/eudev/udev-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/eudev/udev-hwdb.hook b/pcr/eudev/udev-hwdb.hook
new file mode 100644
index 000000000..7bc055b4e
--- /dev/null
+++ b/pcr/eudev/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