Fix "socket /run/pcscd/pcscd.comm immediately removed upon start"

d/pcscd.postinst: restart pcscd on install (Closes: #995814)
This commit is contained in:
Ludovic Rousseau 2021-11-12 23:16:53 +01:00
parent 9445b600c3
commit 9bf51b9f1b
2 changed files with 38 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pcsc-lite (1.9.4-2) UNRELEASED; urgency=medium
* Fix "socket /run/pcscd/pcscd.comm immediately removed upon start"
d/pcscd.postinst: restart pcscd on install (Closes: #995814)
-- Ludovic Rousseau <rousseau@debian.org> Fri, 12 Nov 2021 23:16:05 +0100
pcsc-lite (1.9.4-1) unstable; urgency=medium
* d/upstream/metadata: add DEP12/UMEGAYA file

31
debian/pcscd.postinst vendored Normal file
View File

@ -0,0 +1,31 @@
#! /bin/sh
# postinst script for libccid
#
# see: dh_installdeb(1)
set -e
case "$1" in
configure|reconfigure)
# restart pcscd (PCSC daemon)
invoke-rc.d pcscd restart
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0