debian/pcscd.postinst: enable pcscd for systemd is systemd is installed

This commit is contained in:
Ludovic Rousseau 2011-11-25 14:45:44 +00:00
parent c390675a6e
commit 798d03caf5
2 changed files with 4 additions and 4 deletions

3
debian/changelog vendored
View File

@ -4,8 +4,9 @@ pcsc-lite (1.8.1-1) unstable; urgency=low
* debian/copyright: use Machine-readable DEP-5 format
* debian/pcscd.init: Fix "init.d status support" (Closes: #644127)
* debian/pcscd.init: do not start pcscd if systemd is used
* debian/pcscd.postinst: enable pcscd for systemd is systemd is installed
-- Ludovic Rousseau <rousseau@debian.org> Fri, 25 Nov 2011 15:40:48 +0100
-- Ludovic Rousseau <rousseau@debian.org> Fri, 25 Nov 2011 15:45:10 +0100
pcsc-lite (1.7.4-2) unstable; urgency=low

View File

@ -19,8 +19,7 @@ fi
# create the pcscd group
addgroup --system pcscd --quiet
# set guid pcscd for pcscd
chgrp pcscd /usr/sbin/pcscd
chmod g+s /usr/sbin/pcscd
# enable pcscd for systemd
[ -x /bin/systemctl ] && systemctl enable pcscd.service
#DEBHELPER#