debian/pcscd.postinst: Check whether systemd init is running, not just for

the cgroup (which is also being used by logind).
This commit is contained in:
Martin Pitt 2013-03-21 09:29:27 +00:00
parent 15a858a507
commit dfbea62b71
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pcsc-lite (1.8.8-3) UNRELEASED; urgency=low
* debian/pcscd.postinst: Check whether systemd init is running, not just for
the cgroup (which is also being used by logind).
-- Martin Pitt <mpitt@debian.org> Thu, 21 Mar 2013 10:28:39 +0100
pcsc-lite (1.8.8-2) unstable; urgency=low
* Fix "Please include SONAME in debug package name" rename libpcsclite-dbg

View File

@ -17,6 +17,6 @@ if [ -d $CFGDIR ]; then
fi
# enable pcscd for systemd
[ -x /bin/systemctl ] && [ -d /sys/fs/cgroup/systemd ] && systemctl enable pcscd.socket
[ -x /bin/systemctl ] && [ -d /run/systemd/system ] && systemctl enable pcscd.socket
#DEBHELPER#