From efb93b038aa8aea7588f3f05f076c3881c083530 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sat, 11 Nov 2017 06:37:26 +0100 Subject: [PATCH] saubermann-rpm: fix pip vs rpm check --- saubermann-rpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saubermann-rpm b/saubermann-rpm index 1531f92..31ce00d 100755 --- a/saubermann-rpm +++ b/saubermann-rpm @@ -5,7 +5,7 @@ saubermann-common echo "== should be installed via RPM or pip install --user:" for site_packages in /usr/lib/python*/site-packages/; do - find $site_packages -name "*.egg-info" -or -name "*.dist-info" -exec rpm -qf {} \; 2>&1 | grep "not owned" + find $site_packages \( -name "*.egg-info" -or -name "*.dist-info" \) -exec rpm -qf {} \; 2>&1 | grep "not owned" done echo "== /usr/local"