From 84ee8f9230ca5a8d416c5eb98411666d4029af49 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 May 2014 09:22:03 +0200 Subject: [PATCH] hooks/post-install/99-pkglint: print correct shlib for unversioned shlibs not in common/shlibs. --- common/hooks/post-install/99-pkglint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/hooks/post-install/99-pkglint.sh b/common/hooks/post-install/99-pkglint.sh index 228aaa7c2ad..af6e4e7be87 100644 --- a/common/hooks/post-install/99-pkglint.sh +++ b/common/hooks/post-install/99-pkglint.sh @@ -69,7 +69,9 @@ hook() { fi done; if [ -z "$found" ]; then - msg_warn "${pkgver}: ${libname}.so.${rev} not found in common/shlibs!\n" + _myshlib="${libname}.so" + [ "${_myshlib}" != "${rev}" ] && _myshlib+=".${rev}" + msg_warn "${pkgver}: ${_myshlib} not found in common/shlibs!\n" fi; } done