mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
debian: Generate postinst devices list automatically at gbp import phase
Alternatively provide a script to keep the post-inst script updated
This commit is contained in:
Vendored
+3
-1
@@ -5,10 +5,12 @@ set -e
|
||||
#DEBHELPER#
|
||||
|
||||
if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2>&1; then
|
||||
# apply udev rules at package installation, see
|
||||
# apply hwdb rules at package installation, see
|
||||
# <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683863#27>
|
||||
# NOTA BENE: after the DEBHELPER section since dh_installudev
|
||||
# adds stuff there
|
||||
# The devices ID list is auto-generated using the gbp postimport hook
|
||||
# see debian/README.sources for more details.
|
||||
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016
|
||||
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2020
|
||||
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0010
|
||||
|
||||
Reference in New Issue
Block a user