From f47a206678cf62118654030a81a320b48f0d9aff Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 18 Feb 2022 10:51:38 +0100 Subject: [PATCH] Fix "invoke-rc.d pcscd restart might fail in postinst" do not fail on error (Closes: #1005939) --- debian/changelog | 7 +++++++ debian/postinst | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 93c53f0..ab49fca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ccid (1.5.0-2) UNRELEASED; urgency=medium + + * Fix "invoke-rc.d pcscd restart might fail in postinst" do not fail + on error (Closes: #1005939) + + -- Ludovic Rousseau Fri, 18 Feb 2022 10:51:03 +0100 + ccid (1.5.0-1) unstable; urgency=medium * New upstream release diff --git a/debian/postinst b/debian/postinst index d9f39b6..c5a637e 100644 --- a/debian/postinst +++ b/debian/postinst @@ -8,7 +8,7 @@ set -e case "$1" in configure|reconfigure) # restart pcscd (PCSC daemon) - invoke-rc.d pcscd restart + invoke-rc.d pcscd restart || true ;; abort-upgrade|abort-remove|abort-deconfigure)