Skip to content

Commit

Permalink
site_cache_dir: use /var/tmp instead of /var/cache on unix (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Mar 10, 2023
1 parent e9a3431 commit c9202f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platformdirs/unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def user_cache_dir(self) -> str:
@property
def site_cache_dir(self) -> str:
"""
:return: cache directory shared by users, e.g. ``/var/cache/$appname/$version``
:return: cache directory shared by users, e.g. ``/var/tmp/$appname/$version``
"""
return self._append_app_name_and_version("/var/cache")
return self._append_app_name_and_version("/var/tmp")

@property
def user_state_dir(self) -> str:
Expand Down

0 comments on commit c9202f7

Please sign in to comment.