From 30f1ff82207ac4cb2072297464e238cf8fa52d79 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 16 Sep 2025 16:57:13 -0600 Subject: [PATCH] bootstrap: Drop lsb_release support And also drop an unnecessary tr invocation. Signed-off-by: Zack Cerza --- bootstrap | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bootstrap b/bootstrap index a85fe1339..8453d83a3 100755 --- a/bootstrap +++ b/bootstrap @@ -13,12 +13,8 @@ fi case "$(uname -s)" in Linux) - if command -v lsb_release > /dev/null; then - OS=$(lsb_release --id --short) - else - . /etc/os-release - OS=$(echo "$NAME" | tr -d ' ') - fi + . /etc/os-release + OS="${NAME// /}" case "$OS" in Ubuntu|Debian|LinuxMint) deps=(qemu-utils python3-dev libssl-dev libev-dev libvirt-dev libffi-dev libyaml-dev pipx build-essential jq curl) -- 2.47.3