hooks/post-install/99-pkglint: print correct shlib for unversioned shlibs not in common/shlibs.

This commit is contained in:
Juan RP 2014-05-09 09:22:03 +02:00
parent 321a235bb6
commit 84ee8f9230

View file

@ -69,7 +69,9 @@ hook() {
fi fi
done; done;
if [ -z "$found" ]; then 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; fi;
} }
done done