aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/p7s/bash.py6
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():