From ee515f3882c8979f9cb4ccb8a84c61ff01da3911 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Thu, 10 May 2007 14:03:02 +0000 Subject: [PATCH] reload udev rules if the package is installed --- ccid/trunk/trunk/debian/postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ccid/trunk/trunk/debian/postinst b/ccid/trunk/trunk/debian/postinst index 590e088..3e570db 100644 --- a/ccid/trunk/trunk/debian/postinst +++ b/ccid/trunk/trunk/debian/postinst @@ -35,6 +35,12 @@ case "$1" in then invoke-rc.d pcscd restart 3> /dev/null fi + + # reload udev rules if the package is installed + if [ -x /etc/init.d/udev ] + then + invoke-rc.d udev reload 3> /dev/null + fi ;; abort-upgrade|abort-remove|abort-deconfigure)