summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2013-02-22 21:06:38 -0500
committerNat Goodspeed <nat@lindenlab.com>2013-02-22 21:06:38 -0500
commitf76e7cce5f68df3a2fa7874dcb6b0b1cd60d4fa3 (patch)
tree6993b8920b867851b14b66cfd67be351c6e0584e /indra/viewer_components/updater
parent540909bae99e36ce4e7ea169a83e89b1117a9993 (diff)
MAINT-2328: Mac updater should not clear (part of) viewer cache.
Remove the offending code.
Diffstat (limited to 'indra/viewer_components/updater')
-rwxr-xr-xindra/viewer_components/updater/scripts/darwin/update_install.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/viewer_components/updater/scripts/darwin/update_install.py b/indra/viewer_components/updater/scripts/darwin/update_install.py
index 3402f90a2a..25efc2b0bc 100755
--- a/indra/viewer_components/updater/scripts/darwin/update_install.py
+++ b/indra/viewer_components/updater/scripts/darwin/update_install.py
@@ -287,21 +287,6 @@ def main(dmgfile, markerfile, markertext, appdir=None):
# let our previously-set sys.excepthook handle this
raise type, value, traceback
- status("Clearing cache...")
-
- # We don't know whether the previous viewer was old-style or
- # new-style (Cocoa). Clear both kinds of caches.
- for cachesubdir in "SecondLife", BUNDLE_IDENTIFIER:
- wildcard = "~/Library/Caches/%s/*" % cachesubdir
- log("rm " + wildcard)
- for f in glob.glob(os.path.expanduser(wildcard)):
- # Don't try to remove subdirs this way
- if os.path.isfile(f):
- try:
- os.remove(f)
- except Exception, err:
- log("%s removing %s: %s" % (err.__class__.__name__, f, err))
-
status("Cleaning up...")
log("touch " + appdir)