From e9bdf80f84bde8937264a60fc9b289bfd0daa1fb Mon Sep 17 00:00:00 2001 From: Jordan Jones Date: Sun, 1 Oct 2023 08:28:11 -0700 Subject: [PATCH] chore(configure): add curl to install dependencies This helps protect cases where new containers don't have curl installed by default. --- configure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.sh b/configure.sh index 491be3b077..e7bdc61a5d 100644 --- a/configure.sh +++ b/configure.sh @@ -44,13 +44,13 @@ if [[ ! $(which git) ]]; then if [[ "$OSTYPE" == "linux-gnu"* ]]; then DISTRIB=$(awk -F= '/^ID/{print $2}' /etc/os-release) if [[ ${DISTRIB} = "ubuntu"* ]] || [[ ${DISTRIB} = "debian"* ]]; then - sudo apt install -y git + sudo apt install -y git curl elif [[ ${DISTRIB} = "fedora"* ]] || [[ ${DISTRIB} = "almalinux"* ]] || [[ ${DISTRIB} = "rockylinux"* ]] || [[ ${DISTRIB} = "rhel"* ]]; then - sudo dnf install git -y + sudo dnf install git curl -y fi fi if [[ "$OSTYPE" == "darwin"* ]]; then - brew install git + brew install git curl fi fi