Skip to content

Commit

Permalink
[Ubuntu] Add Numbat (24.04) helper functions (#9690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailkoliada committed Apr 15, 2024
1 parent 3b976c7 commit 7993ee5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/ubuntu/scripts/helpers/Common.Helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ function Test-IsUbuntu22 {
return (lsb_release -rs) -eq "22.04"
}

function Test-IsUbuntu24 {
return (lsb_release -rs) -eq "24.04"
}

function Get-ToolsetContent {
<#
.SYNOPSIS
Expand Down
4 changes: 4 additions & 0 deletions images/ubuntu/scripts/helpers/os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ is_ubuntu20() {
is_ubuntu22() {
lsb_release -d | grep -q 'Ubuntu 22'
}

is_ubuntu24() {
lsb_release -d | grep -q 'Ubuntu 24'
}

0 comments on commit 7993ee5

Please sign in to comment.