saubermann-rpm: fix pip vs rpm check

master
neingeist 7 years ago
parent 8817392d64
commit efb93b038a

@ -5,7 +5,7 @@ saubermann-common
echo "== should be installed via RPM or pip install --user:" echo "== should be installed via RPM or pip install --user:"
for site_packages in /usr/lib/python*/site-packages/; do 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 done
echo "== /usr/local" echo "== /usr/local"

Loading…
Cancel
Save