mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 23:23:20 +03:00
22 lines
562 B
Bash
Executable File
22 lines
562 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
echo "----- preinstalled curl version -----"
|
|
curl --version
|
|
|
|
echo "----- install prerequisite packages -----"
|
|
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
|
|
brew uninstall --force --ignore-dependencies curl
|
|
brew update
|
|
brew install -s curl
|
|
brew link --force --overwrite curl
|
|
CURL_PATH="$(brew --prefix curl)/bin"
|
|
export CURL_PATH
|
|
echo "CURL_PATH=$CURL_PATH"
|
|
PATH="$CURL_PATH:$PATH"
|
|
export PATH
|
|
brew install bash expect pkg-config squid jq
|
|
sudo squid -k shutdown || true
|
|
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true
|
|
|