summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/share/initramfs-tools/hooks/cryptlukssc6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc
index 940a3a1..b44b5e1 100755
--- a/usr/share/initramfs-tools/hooks/cryptlukssc
+++ b/usr/share/initramfs-tools/hooks/cryptlukssc
@@ -122,11 +122,11 @@ copy_exec /usr/bin/cardpincheck /bin
# Libraries
# cp -L /usr/lib/libltdl.so* ${DESTDIR}/usr/lib
# cp -L /lib/libncurses.so.5 ${DESTDIR}/lib
-if [ -e /lib/*${ARCHDIR}*/libncursesw.so.5 ]
+if [ -e /lib/*${ARCHDIR}*/libncursesw.so.[0-9] ]
then
- cp -L /lib/*${ARCHDIR}*/libncursesw.so.5 ${DESTDIR}/lib
+ cp -L /lib/*${ARCHDIR}*/libncursesw.so.[0-9] ${DESTDIR}/lib
else
- cp -L /lib/libncursesw.so.5 ${DESTDIR}/lib
+ cp -L /lib/libncursesw.so.[0-9] ${DESTDIR}/lib
fi
# LUKS keys