summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2020-06-02 20:53:03 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2020-06-03 06:43:09 -0500
commit823a7b1e4788484e020abb3cfe8b6fd285fd1716 (patch)
treee5719c1208335c6a1cb0a173d1c6b2cecaea46d9
parent5362960c7020e76e2dbc7820992a1d21aec8b211 (diff)
downloadsmartcardauth-823a7b1e.tar.gz
smartcardauth-823a7b1e.zip
The exact version of ncurses doesn't matter, so copy whatever is installed
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-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