The exact version of ncurses doesn't matter, so copy whatever is installed

Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
pull/3/head
Timothy Pearson 5 years ago
parent 5362960c70
commit 823a7b1e47

@ -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

Loading…
Cancel
Save