Skip to content

Commit

Permalink
chore: install lsb_release if not present (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery authored Jan 8, 2025
1 parent 7d82084 commit 8449f93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script/make_utils/setup_os_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ linux_install_github_cli () {
}

linux_install_cmake () {
# Install lsb-release if not present
if ! command -v lsb_release >/dev/null 2>&1; then
${SUDO_BIN:+$SUDO_BIN} apt-get update
${SUDO_BIN:+$SUDO_BIN} apt-get -y install lsb-release
fi

# Get Ubuntu version codename
UBUNTU_CODENAME=$(lsb_release -cs)

Expand Down

0 comments on commit 8449f93

Please sign in to comment.