aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-08-10 15:22:07 +0200
committeralexpdp7 <alex@corcoles.net>2025-08-10 15:24:38 +0200
commite304a677f140740c3d2b9232031512fb257cb343 (patch)
tree19cb0d462efc051b261c3233c250a2a18392c618 /scripts
parentd353cdd6f5a545fe702a778f611bceafaa3aedde (diff)
Update for trixie
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():