From 35c53b888531c64fe28c8d0025c0637239b66883 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 27 Nov 2011 19:36:59 +0000 Subject: [PATCH] debian/pcscd.postinst: Fix "Fails to configure" check that systemd is installed _and_ running (Closes: #650174) --- debian/changelog | 7 +++++++ debian/pcscd.postinst | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 287e96e..e7f13f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcsc-lite (1.8.1-2) unstable; urgency=low + + * debian/pcscd.postinst: Fix "Fails to configure" check that systemd is + installed _and_ running (Closes: #650174) + + -- Ludovic Rousseau Sun, 27 Nov 2011 20:33:59 +0100 + pcsc-lite (1.8.1-1) unstable; urgency=low * New upstream release diff --git a/debian/pcscd.postinst b/debian/pcscd.postinst index 33744b1..6d30672 100644 --- a/debian/pcscd.postinst +++ b/debian/pcscd.postinst @@ -20,6 +20,6 @@ fi addgroup --system pcscd --quiet # enable pcscd for systemd -[ -x /bin/systemctl ] && systemctl enable pcscd.socket +[ -x /bin/systemctl ] && [ -d /sys/fs/cgroup/systemd ] && systemctl enable pcscd.socket #DEBHELPER#