diff options
| author | alex <alex@pdp7.net> | 2025-08-10 15:22:07 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2025-08-10 15:24:38 +0200 |
| commit | e304a677f140740c3d2b9232031512fb257cb343 (patch) | |
| tree | 19cb0d462efc051b261c3233c250a2a18392c618 | |
| parent | d353cdd6f5a545fe702a778f611bceafaa3aedde (diff) | |
Update for trixie
| -rw-r--r-- | scripts/p7s/bash.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/p7s/bash.py b/scripts/p7s/bash.py index e703370c..e4d7510f 100644 --- a/scripts/p7s/bash.py +++ b/scripts/p7s/bash.py @@ -15,8 +15,12 @@ def is_debian_bookworm(): return platform.freedesktop_os_release().get("VERSION_CODENAME") == "bookworm" +def is_debian_trixie(): + return platform.freedesktop_os_release().get("VERSION_CODENAME") == "trixie" + + def is_debian_based(): - return is_ubuntu_2204() or is_ubuntu_2404() or is_debian_bookworm() + return is_ubuntu_2204() or is_ubuntu_2404() or is_debian_bookworm() or is_debian_trixie() def setup_bash(): |
