resolve_resource: also look in XDG_CACHE_HOME
@@ -62,6 +62,7 @@ def list_resource_candidates(executable, fname, cwd=os.getcwd()):
candidates.append(join(os.environ['VIRTUAL_ENV'], 'share', executable, fname))
candidates.append(join(XDG_DATA_HOME), executable, fname)
candidates.append(join(XDG_CONFIG_HOME), executable, fname)
+ candidates.append(join(XDG_CACHE_HOME), executable, fname)
return candidates
def list_all_resources(executable):
