Add support for Debian 13 (Trixie) in OS validation
- Updated validate_os() function to accept Debian 13 - Enables testing on newer Debian versions including Raspberry Pi OS
This commit is contained in:
@@ -184,7 +184,7 @@ validate_os() {
|
|||||||
"Ubuntu"|"Debian"|"Raspbian")
|
"Ubuntu"|"Debian"|"Raspbian")
|
||||||
if [[ "$OS_NAME" == "Ubuntu" && "$OS_VERSION" =~ ^(20|22|24) ]]; then
|
if [[ "$OS_NAME" == "Ubuntu" && "$OS_VERSION" =~ ^(20|22|24) ]]; then
|
||||||
return 0
|
return 0
|
||||||
elif [[ "$OS_NAME" == "Debian" && "$OS_VERSION" =~ ^(11|12) ]]; then
|
elif [[ "$OS_NAME" == "Debian" && "$OS_VERSION" =~ ^(11|12|13) ]]; then
|
||||||
return 0
|
return 0
|
||||||
elif [[ "$OS_NAME" == "Raspbian" ]]; then
|
elif [[ "$OS_NAME" == "Raspbian" ]]; then
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user