d/postinst: restart pcscd on install

This commit is contained in:
Ludovic Rousseau 2021-11-12 23:11:42 +01:00
parent 59fba5fdfc
commit 04d0e22471
2 changed files with 38 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ccid (1.4.36-3) UNRELEASED; urgency=medium
* d/postinst: restart pcscd on install
See #995814
-- Ludovic Rousseau <rousseau@debian.org> Fri, 12 Nov 2021 23:10:58 +0100
ccid (1.4.36-2) unstable; urgency=medium
* Fix "Please replace links to alioth by salsa" using the upstream web

31
debian/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