saubermann-rpm: include python 3 and dist-info files

master
neingeist 7 years ago
parent 7cbabccc90
commit 839595b37b

@ -4,8 +4,8 @@
saubermann-common 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/python2.7/site-packages/; do for site_packages in /usr/lib/python*/site-packages/; do
rpm -qf $site_packages/*.egg-info 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