aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/post-install/99-pkglint.sh
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-05-09 07:22:03 +0000
committerJuan RP <xtraeme@gmail.com>2014-05-09 07:24:04 +0000
commit84ee8f9230ca5a8d416c5eb98411666d4029af49 (patch)
tree82f42376144e2d8a18fdfabe3832efc07252086b /common/hooks/post-install/99-pkglint.sh
parent321a235bb6301721525f453bffd21ce4e17a1ece (diff)
downloadvoid-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar.gz
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar.bz2
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar.lz
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar.xz
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.tar.zst
void-packages-84ee8f9230ca5a8d416c5eb98411666d4029af49.zip
hooks/post-install/99-pkglint: print correct shlib for unversioned shlibs not in common/shlibs.
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