From fcf6f563164c7349d47bcbfd579464d6542bca52 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 20 Sep 2011 23:47:48 +0000 Subject: Fix smartcardauth initramfs with new pcscd git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1254707 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- usr/share/initramfs-tools/hooks/cryptlukssc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usr/share/initramfs-tools/hooks') diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc index 6a9c067..8dc14ab 100755 --- a/usr/share/initramfs-tools/hooks/cryptlukssc +++ b/usr/share/initramfs-tools/hooks/cryptlukssc @@ -38,7 +38,12 @@ else fi copy_exec /lib/libpcsclite.so.1 /lib cp -r /usr/lib/pcsc ${DESTDIR}/usr/lib -cp /etc/reader.conf ${DESTDIR}/etc +if [ -e /etc/reader.conf.d ] +then + cp -Rp /etc/reader.conf.d ${DESTDIR}/etc/ +else + cp /etc/reader.conf ${DESTDIR}/etc +fi # Install opensc commands and conf file copy_exec /usr/bin/opensc-tool /bin -- cgit v1.2.1