From 3e2f1a8fd908ae8b7166efd9ccb69c9750efc97c Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Sat, 16 Nov 2013 14:28:25 -0500 Subject: [PATCH] Changed singularity prebuilt cache dir to sg.install.cache --- scripts/install.py | 4 ++-- scripts/public_fetch_tarballs.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install.py b/scripts/install.py index e027c7322..288b19b90 100755 --- a/scripts/install.py +++ b/scripts/install.py @@ -835,10 +835,10 @@ def _default_installable_cache(): """In general, the installable files do not change much, so find a host/user specific location to cache files.""" user = _getuser() - cache_dir = "/var/tmp/%s/install.cache" % user + cache_dir = "/var/tmp/%s/sg.install.cache" % user if _get_platform() == 'windows': cache_dir = os.path.join(tempfile.gettempdir(), \ - 'install.cache.%s' % user) + 'sg.install.cache.%s' % user) return cache_dir def parse_args(): diff --git a/scripts/public_fetch_tarballs.py b/scripts/public_fetch_tarballs.py index 455a42549..45eb4c5a8 100755 --- a/scripts/public_fetch_tarballs.py +++ b/scripts/public_fetch_tarballs.py @@ -173,10 +173,10 @@ def _default_installable_cache(): """In general, the installable files do not change much, so find a host/user specific location to cache files.""" user = _getuser() - cache_dir = "/var/tmp/%s/install.cache" % user + cache_dir = "/var/tmp/%s/sg.install.cache" % user if _get_platform() == 'windows': cache_dir = os.path.join(tempfile.gettempdir(), \ - 'install.cache.%s' % user) + 'sg.install.cache.%s' % user) return cache_dir # For status messages (e.g. "Loading..."). May come in handy if