aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/post-install/99-pkglint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/post-install/99-pkglint.sh')
-rw-r--r--common/hooks/post-install/99-pkglint.sh4
1 files changed, 3 insertions, 1 deletions
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