diff --git a/debian/libfprint0.postinst b/debian/libfprint0.postinst index 61bf030d..acea5e2b 100644 --- a/debian/libfprint0.postinst +++ b/debian/libfprint0.postinst @@ -4,7 +4,7 @@ set -e #DEBHELPER# -if [ "$1" = "configure" -o "$1" = "upgrade" ]; then +if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2>&1; then # apply udev rules at package installation, see # # NOTA BENE: after the DEBHELPER section since dh_installudev