debian/update-udev-triggers.sh: Use perl to replace file content

envsubst is nice but may be not installed and can be confusing, so let's
use perl (+ printenv) to replace our file content.
This commit is contained in:
Marco Trevisan (Treviño)
2021-01-21 19:50:24 +01:00
parent 067020b36e
commit 97b6e243b8
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -209,6 +209,7 @@ if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=9338
udevadm trigger --action=add --attr-match=idVendor=298d --attr-match=idProduct=2033
udevadm trigger --action=add --attr-match=idVendor=3538 --attr-match=idProduct=0930
fi
exit 0