From 8a2aa7f74f5a95aad903b52d4fa927b61239e5aa Mon Sep 17 00:00:00 2001 From: smiley <93072266+dmur1@users.noreply.github.com> Date: Sun, 25 Feb 2024 00:21:09 +0000 Subject: [PATCH] add missing install dep for shfmt (#2025) * add missing install dep for shfmt * if we're given an ubuntu version and its not 20.04.. then install shfmt * fix broken check for if no argument was passed to install_apt --- setup-dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-dev.sh b/setup-dev.sh index a7bd56b28..2f79308a6 100755 --- a/setup-dev.sh +++ b/setup-dev.sh @@ -100,7 +100,7 @@ install_apt() { gcc-aarch64-linux-gnu \ gcc-riscv64-linux-gnu - if [[ "$1" == "22.04" ]]; then + if [[ "$1" != "" && "$1" != "20.04" ]]; then sudo apt install shfmt fi