diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-13 07:29:06 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-13 07:29:06 +0000 |
commit | ee53bd6a227e8c45015cd2d830da923c1f97cd32 (patch) | |
tree | 25c16c3537c205919465ae7b289b513c3ccba15e /scripts/upd-instroot | |
parent | cdcebb5192a31af9ac8303f97b6125f6d0ab829f (diff) | |
download | anaconda-ee53bd6a227e8c45015cd2d830da923c1f97cd32.tar.gz anaconda-ee53bd6a227e8c45015cd2d830da923c1f97cd32.tar.xz anaconda-ee53bd6a227e8c45015cd2d830da923c1f97cd32.zip |
speed up load by not nuking all the .pyc files
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-x | scripts/upd-instroot | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index d78961d9c..0d63fe58b 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -585,13 +585,9 @@ echo "done." for p in $DEST $DESTGR; do find $p -name "*.py" | while read fn; do - if [ -f ${fn}c ]; then - rm -f ${fn}c - fi - if [ -f ${fn}o ]; then - rm -f ${fn}o - fi + rm -f ${fn}o if [ $p = $DEST ]; then + rm -f ${fn}c ln -sf /dev/null ${fn}c fi done |