summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-07-02 16:56:14 -0500
committerSlávek Banko <[email protected]>2015-07-03 01:05:13 +0200
commitbb1740cd7327374a1124cb2931ba77ea59c90867 (patch)
treebfe4312e68c92a773031a10ef7964c20cae748fc /usr
parentc83d53af1f978a6981fc240cba2b1d0f39ae9a4f (diff)
downloadsmartcardauth-bb1740cd7327374a1124cb2931ba77ea59c90867.tar.gz
smartcardauth-bb1740cd7327374a1124cb2931ba77ea59c90867.zip
Fix initramfs hooks on Debian Jessier14.0.1
(cherry picked from commit 1dab477659e78c3118051c37840e3473e6403ce3)
Diffstat (limited to 'usr')
-rwxr-xr-xusr/share/initramfs-tools/hooks/cryptlukssc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc
index 092d2e9..577fc96 100755
--- a/usr/share/initramfs-tools/hooks/cryptlukssc
+++ b/usr/share/initramfs-tools/hooks/cryptlukssc
@@ -45,7 +45,8 @@ fi
if [ -e /usr/lib/*`uname -i`*/libusb-1.0.so.0 ]
then
copy_exec /usr/lib/*`uname -i`*/libusb-1.0.so.0 /usr/lib
-else
+else if [ -e /usr/lib/libusb-1.0.so.0 ]
+then
copy_exec /usr/lib/libusb-1.0.so.0 /usr/lib
fi
cp -r /usr/lib/pcsc ${DESTDIR}/usr/lib