Skip to content

Commit

Permalink
umu_util: cite container interface document
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Aug 13, 2024
1 parent 0a38d8a commit 3639d0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def get_osrelease_id() -> str:
release: Path
osid: str = ""

# Flatpak follows the Container Interface outlined by systemd
# See https://systemd.io/CONTAINER_INTERFACE
if os.environ.get("container") == "flatpak": # noqa: SIM112
release = Path("/run/host/os-release")
else:
Expand Down

0 comments on commit 3639d0f

Please sign in to comment.