Install a dpkg file trigger for /lib/udev/hwdb.d

Run udevadm hwdb --update automatically whenever a packages drops a
file in that directory.
This commit is contained in:
Michael Biebl 2013-07-18 21:20:01 +02:00
parent 1e8cf451fc
commit fc0c2cfb83
2 changed files with 6 additions and 0 deletions

View File

@ -213,6 +213,11 @@ case "$1" in
abort-upgrade|abort-remove|abort-deconfigure)
;;
triggered)
update_hwdb
exit 0
;;
interfaces)
write_interfaces_rules
;;

1
debian/udev.triggers vendored Normal file
View File

@ -0,0 +1 @@
interest /lib/udev/hwdb.d