Changed singularity prebuilt cache dir to sg.install.cache
This commit is contained in:
@@ -835,10 +835,10 @@ def _default_installable_cache():
|
|||||||
"""In general, the installable files do not change much, so find a
|
"""In general, the installable files do not change much, so find a
|
||||||
host/user specific location to cache files."""
|
host/user specific location to cache files."""
|
||||||
user = _getuser()
|
user = _getuser()
|
||||||
cache_dir = "/var/tmp/%s/install.cache" % user
|
cache_dir = "/var/tmp/%s/sg.install.cache" % user
|
||||||
if _get_platform() == 'windows':
|
if _get_platform() == 'windows':
|
||||||
cache_dir = os.path.join(tempfile.gettempdir(), \
|
cache_dir = os.path.join(tempfile.gettempdir(), \
|
||||||
'install.cache.%s' % user)
|
'sg.install.cache.%s' % user)
|
||||||
return cache_dir
|
return cache_dir
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
|
|||||||
@@ -173,10 +173,10 @@ def _default_installable_cache():
|
|||||||
"""In general, the installable files do not change much, so find a
|
"""In general, the installable files do not change much, so find a
|
||||||
host/user specific location to cache files."""
|
host/user specific location to cache files."""
|
||||||
user = _getuser()
|
user = _getuser()
|
||||||
cache_dir = "/var/tmp/%s/install.cache" % user
|
cache_dir = "/var/tmp/%s/sg.install.cache" % user
|
||||||
if _get_platform() == 'windows':
|
if _get_platform() == 'windows':
|
||||||
cache_dir = os.path.join(tempfile.gettempdir(), \
|
cache_dir = os.path.join(tempfile.gettempdir(), \
|
||||||
'install.cache.%s' % user)
|
'sg.install.cache.%s' % user)
|
||||||
return cache_dir
|
return cache_dir
|
||||||
|
|
||||||
# For status messages (e.g. "Loading..."). May come in handy if
|
# For status messages (e.g. "Loading..."). May come in handy if
|
||||||
|
|||||||
Reference in New Issue
Block a user