From 84b56a438f64d1b88457708f6f37d2081951bd8c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 7 Feb 2015 10:04:03 +0100 Subject: [PATCH] hooks/shlib-provides: fix inverted condition. --- common/hooks/pre-pkg/06-shlib-provides.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh index ad8b9803118..7832496133e 100644 --- a/common/hooks/pre-pkg/06-shlib-provides.sh +++ b/common/hooks/pre-pkg/06-shlib-provides.sh @@ -43,7 +43,7 @@ collect_sonames() { hook() { local _destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version} - if [ -z "$shlib_provides" -o -n "$noarch" -o -n "$noshlibprovides" ]; then + if [ -z "$shlib_provides" -a -n "$noarch" -o -n "$noshlibprovides" ]; then return 0 fi