diff --git a/debian/changelog b/debian/changelog index 7a4bdde..1fdadc4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ccid (1.4.36-3) UNRELEASED; urgency=medium + + * d/postinst: restart pcscd on install + See #995814 + + -- Ludovic Rousseau 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 diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..d9f39b6 --- /dev/null +++ b/debian/postinst @@ -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 + +