summaryrefslogtreecommitdiffstats
path: root/usr/share
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-07-02 16:56:14 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-07-02 16:56:14 -0500
commit1dab477659e78c3118051c37840e3473e6403ce3 (patch)
tree10d91b12c3729020d7c5168d37c04ab7442a7480 /usr/share
parent623d5108b15c0157bc94b42697a77b83f35bc6d2 (diff)
downloadsmartcardauth-1dab477659e78c3118051c37840e3473e6403ce3.tar.gz
smartcardauth-1dab477659e78c3118051c37840e3473e6403ce3.zip
Fix initramfs hooks on Debian Jessie
Diffstat (limited to 'usr/share')
-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