summaryrefslogtreecommitdiffstats
path: root/usr/share/initramfs-tools
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/initramfs-tools')
-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