Skip to content

Commit

Permalink
fix 'is ubuntu 24.04' function (#5344)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Aug 21, 2024
1 parent f46f40d commit 68efecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common/host-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function is_amazon_2023() {

# is_ubuntu_2404 returns 0 if the current distro is Ubuntu 24.04.
function is_ubuntu_2404() {
if [ "$DIST_VERSION_MAJOR" != "24.04" ]; then
if [ "$DIST_VERSION_MAJOR" != "24" ]; then
return 1
fi
if [ "$LSB_DIST" != "ubuntu" ]; then
Expand Down

0 comments on commit 68efecc

Please sign in to comment.