From e304a677f140740c3d2b9232031512fb257cb343 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 10 Aug 2025 15:22:07 +0200 Subject: [PATCH] Update for trixie --- scripts/p7s/bash.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/p7s/bash.py b/scripts/p7s/bash.py index e703370..e4d7510 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(): -- 2.47.3