hooks/post-install/99-pkglint: detect sonames with pkgnames containing '+' chars (gtk+).

This commit is contained in:
Juan RP 2014-03-27 10:11:58 +01:00
parent f6f59dec8b
commit 6bb1602225
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ hook() {
for filename in `cat ${PKGDESTDIR}/shlib-provides`; do
rev=${filename#*.so.}
libname=${filename%.so*}
grep -E "^${libname}\.so[\.0-9.]*[[:blank:]]+${pkgname}-[^-]+_[0-9]+$" $mapshlibs | { \
_pkgname=$(echo "$pkgname"|sed -E 's|\+|\\+|g')
grep -E "^${libname}\.so[\.0-9.]*[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$" $mapshlibs | { \
while read conflictFile conflictPkg; do
found=1
conflictRev=${conflictFile#*.so.}