Skip to content

Commit

Permalink
site_cache_dir: Use /var/cache again instead of /var/tmp on UNIX (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
andersk authored Nov 10, 2023
1 parent 422ca8c commit 3935ea2
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 @@ -99,8 +99,8 @@ def user_cache_dir(self) -> str:

@property
def site_cache_dir(self) -> str:
""":return: cache directory shared by users, e.g. ``/var/tmp/$appname/$version``"""
return self._append_app_name_and_version("/var/tmp") # noqa: S108
""":return: cache directory shared by users, e.g. ``/var/cache/$appname/$version``"""
return self._append_app_name_and_version("/var/cache")

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

0 comments on commit 3935ea2

Please sign in to comment.