Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shivam/linkfix #1008

Merged
merged 1 commit into from
Oct 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions keploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ installKeploy (){
OS_NAME="$(uname -s)"
if [ "$OS_NAME" = "Darwin" ]; then
#!/bin/bash

if ! which docker &> /dev/null; then
echo echo -e "\e]8;;https://www.docker.com\Docker not found on device, install docker? (y/n)\e]8;;\a"
read user_input
if [ "$user_input" = "y" ]; then
echo "Installing docker via brew"
if command -v brew &> /dev/null; then
brew install docker
else
echo "\e]8;;https://brew.sh\abrew is not installed, install brew for easy docker installation\e]8;;\a"
return
fi
elif [ "$user_input" != "n" ]; then
echo "Please enter a valid command"
return
else
echo "Please install docker to install keploy"
return
fi
echo -e "Keploy isn't supported on Docker Desktop, \e]8;;https://github.com/docker/for-mac/issues/6800\aknow why?\e]8;;\a"
if ! which colima &> /dev/null; then
echo
Expand Down
Loading