File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -43,30 +43,8 @@ check_docker_compose
43
43
# Function to install curl if it's not already installed
44
44
install_curl () {
45
45
if ! command -v curl & > /dev/null; then
46
- echo " curl is not installed. Installing curl..."
47
- case $OS in
48
- Linux)
49
- if command -v apt-get & > /dev/null; then
50
- sudo apt-get update
51
- sudo apt-get install -y curl
52
- elif command -v yum & > /dev/null; then
53
- sudo yum install -y curl
54
- elif command -v pacman & > /dev/null; then
55
- sudo pacman -Syu curl
56
- else
57
- echo " Unsupported package manager. Please install curl manually, or download the Deployer manually from $DEPLOYER_RELEASE_URL ."
58
- exit 1
59
- fi
60
- ;;
61
- MINGW* |MSYS* |CYGWIN* )
62
- echo " Please install curl manually on Windows."
63
- exit 1
64
- ;;
65
- * )
66
- echo " Unsupported operating system: $OS "
67
- exit 1
68
- ;;
69
- esac
46
+ echo " curl is not installed. Please install curl and rerun this script."
47
+ exit 1
70
48
fi
71
49
}
72
50
You can’t perform that action at this time.
0 commit comments