[Fingerforce-commits] [SCM] libfprint packaging for Debian by the FingerForce Team. branch, debian, updated. debian/0.5.0-1-4-gf43b360

Didier Raboud odyx at debian.org
Sun Mar 3 12:08:59 UTC 2013


The following commit has been merged in the debian branch:
commit 2f24ad983ff8bbb206d6ea32f37ca6d33f7103b5
Author: Didier Raboud <odyx at debian.org>
Date:   Sat Mar 2 20:01:55 2013 +0100

    Only execute the udevadm commands if udevadm is in the script path

diff --git a/debian/libfprint0.postinst b/debian/libfprint0.postinst
index 61bf030..acea5e2 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
 	# <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683863#27>
 	# NOTA BENE: after the DEBHELPER section since dh_installudev

-- 
libfprint packaging for Debian by the FingerForce Team.



More information about the Fingerforce-commits mailing list