d/postinst: restart pcscd on install
This commit is contained in:
parent
59fba5fdfc
commit
04d0e22471
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue