diff --git a/debian/changelog b/debian/changelog index 5770069..1b668be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcsc-lite (1.8.3-2) unstable; urgency=low + + * Fix "invoke-rc.d pcscd start starts the daemon again if allready + running" do not remove /var/run/pcscd/ if already present (Closes: #666465) + + -- Ludovic Rousseau Sat, 31 Mar 2012 18:07:01 +0200 + pcsc-lite (1.8.3-1) unstable; urgency=low * New upstream release diff --git a/debian/pcscd.init b/debian/pcscd.init index 9ebc0e7..d9d050b 100644 --- a/debian/pcscd.init +++ b/debian/pcscd.init @@ -67,8 +67,11 @@ eval LANG=$value do_start() { # create $IPCDIR with correct access rights - rm -rf $IPCDIR - mkdir $IPCDIR + if [ ! -d $IPCDIR ] + then + rm -rf $IPCDIR + mkdir $IPCDIR + fi chgrp pcscd $IPCDIR chmod 0775 $IPCDIR