tags 407361 patch
thanks

Hi,

Please consider the following patches to fix this bug that i intent to NMU soon.

--- libtowitoko2.postrm    2007-03-02 12:30:58.000000000 -0300
+++ libtowitoko2.postrm 2007-03-02 12:41:02.000000000 -0300
@@ -23,7 +23,9 @@
    # restart pcscd (PCSC daemon) if the package is installed
    # and if pcscd is running
    if [ -x /etc/init.d/pcscd ]; then
-      /etc/init.d/pcscd restart-if-running 3>/dev/null || true
+      if [ `pidof pcscd` ]; then
+        /etc/init.d/pcscd restart 3>/dev/null || true
+      fi
    fi

    ;;

--- libtowitoko2.postinst  2007-03-02 12:20:04.000000000 -0300
+++ libtowitoko2.postinst       2007-03-02 12:21:11.000000000 -0300
@@ -59,7 +59,9 @@
  db_stop

  if [ -x /etc/init.d/pcscd ]; then
-    /etc/init.d/pcscd restart-if-running 3>/dev/null
+    if [ `pidof pcscd` ]; then
+      /etc/init.d/pcscd restart 3>/dev/null
+    fi
  fi
fi


regards,
-- stratus
http://stratusandtheswirl.blogspot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to