]> xn--ix-yja.es Git - alex.git/commitdiff
Update for trixie
authoralex <alex@pdp7.net>
Sun, 10 Aug 2025 13:22:07 +0000 (15:22 +0200)
committeralexpdp7 <alex@corcoles.net>
Sun, 10 Aug 2025 13:24:38 +0000 (15:24 +0200)
scripts/p7s/bash.py

index e703370c74fed9c75ceb8c80a94f97cebcda8c79..e4d7510f5e8d136ba2a27e9f3334f3f92f109c71 100644 (file)
@@ -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():