From bb1740cd7327374a1124cb2931ba77ea59c90867 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 2 Jul 2015 16:56:14 -0500 Subject: Fix initramfs hooks on Debian Jessie (cherry picked from commit 1dab477659e78c3118051c37840e3473e6403ce3) --- usr/share/initramfs-tools/hooks/cryptlukssc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1