hooks/post-install/pkglint: more tweaks for the shlib checks.
This commit is contained in:
parent
844d4619d6
commit
cc6ea5d19b
@ -35,7 +35,7 @@ hook() {
|
|||||||
if [ "$rev" = "$filename" ]; then
|
if [ "$rev" = "$filename" ]; then
|
||||||
_pattern="^${_shlib}\.so[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$"
|
_pattern="^${_shlib}\.so[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$"
|
||||||
else
|
else
|
||||||
_pattern="^${_shlib}\.so\.[0-9]+[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$"
|
_pattern="^${_shlib}\.so\.[0-9]+(.*)[[:blank:]]+${_pkgname}-[^-]+_[0-9]+$"
|
||||||
fi
|
fi
|
||||||
grep -E "${_pattern}" $mapshlibs | { \
|
grep -E "${_pattern}" $mapshlibs | { \
|
||||||
while read conflictFile conflictPkg; do
|
while read conflictFile conflictPkg; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user