mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
chore(configure): add curl to install dependencies
This helps protect cases where new containers don't have curl installed by default.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user