Skip to content

Commit caf1470

Browse files
committed
support trixie
Signed-off-by: Markus Storm <markus.storm@gmx.net>
1 parent ff78de1 commit caf1470

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

functions/helpers.bash

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,21 +333,27 @@ is_raspios() {
333333
}
334334
# Represents the current OS versions we officially support
335335
is_supported() {
336-
if is_bullseye || is_bookworm || is_jellyfish || is_noble; then return 0; fi
336+
if is_bullseye || is_bookworm || is_trixie || is_jellyfish || is_noble; then return 0; fi
337337
return 1;
338338
}
339-
# Debian/Raspbian oldstable
339+
# Debian/Raspbian oldoldstable
340340
is_bullseye() {
341341
if [[ "$osrelease" == "bullseye" ]]; then return 0; fi
342342
[[ $(cat /etc/*release*) =~ "bullseye" ]]
343343
return $?
344344
}
345-
# Debian/Raspbian stable
345+
# Debian/Raspbian oldstable
346346
is_bookworm() {
347347
if [[ "$osrelease" == "bookworm" ]]; then return 0; fi
348348
[[ $(cat /etc/*release*) =~ "bookworm" ]]
349349
return $?
350350
}
351+
# Debian/Raspbian stable
352+
is_trixie() {
353+
if [[ "$osrelease" == "trixie" ]]; then return 0; fi
354+
[[ $(cat /etc/*release*) =~ "trixie" ]]
355+
return $?
356+
}
351357
# Debian/Raspbian unstable
352358
is_sid() {
353359
if [[ "$osrelease" == "sid" ]]; then return 0; fi

0 commit comments

Comments
 (0)