From 2f24ad983ff8bbb206d6ea32f37ca6d33f7103b5 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Sat, 2 Mar 2013 20:01:55 +0100 Subject: [PATCH] Only execute the udevadm commands if udevadm is in the script path --- debian/libfprint0.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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