[Ovirt-devel] [PATCH] all .py are under /usr
Alan Pevec
apevec at redhat.com
Thu Aug 11 00:01:03 UTC 2011
avoids traversing /proc
---
recipe/image-minimizer.ks.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipe/image-minimizer.ks.in b/recipe/image-minimizer.ks.in
index 2518c5c..956bc20 100644
--- a/recipe/image-minimizer.ks.in
+++ b/recipe/image-minimizer.ks.in
@@ -5,7 +5,7 @@
%post
echo "Removing python source files"
-find / -name '*.py' -exec rm -f {} \;
-find / -name '*.pyo' -exec rm -f {} \;
+find /usr -name '*.py' -exec rm -f {} \;
+find /usr -name '*.pyo' -exec rm -f {} \;
%end
--
1.7.3.4
More information about the ovirt-devel
mailing list