Skip to content

Commit

Permalink
umu_util: refer to variable for path
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed May 21, 2024
1 parent be38d0f commit 132ef4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _install_umu(root: Path, local: Path, json: dict[str, Any]) -> None:

# Ensure the config file is writable for the owner after copied
# See https://github.com/Open-Wine-Components/umu-launcher/issues/106
if not access(local.joinpath(CONFIG), W_OK):
if not access(json_local, W_OK):
json_local.chmod(json_local.stat().st_mode | S_IWUSR)

# Runtime platform
Expand Down

0 comments on commit 132ef4c

Please sign in to comment.