From 823a7b1e4788484e020abb3cfe8b6fd285fd1716 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 2 Jun 2020 20:53:03 -0500 Subject: The exact version of ncurses doesn't matter, so copy whatever is installed Signed-off-by: Timothy Pearson --- usr/share/initramfs-tools/hooks/cryptlukssc | 6 +++--- 1 file 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 -- cgit v1.2.1