Skip to content

Commit

Permalink
adding homebrew installo
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Sep 22, 2023
1 parent af4fc9f commit 732c86c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/dotfiles
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ elif [[ $BOOTSTRAP_OS == "ubuntu" ]]; then
fi
elif [[ $BOOTSTRAP_OS == "macos" ]]; then
echo -e "${CHECK_MARK} ${GREEN}Operating system is macOS!${NC}"
if ! command -v brew &>/dev/null; then
echo -e "${ARROW} ${CYAN}Installing Homebrew...${NC}"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# Install Ansible
if ! brew list ansible &>/dev/null; then
echo -e "${ARROW} ${CYAN}Installing Ansible...${NC}"
Expand Down

0 comments on commit 732c86c

Please sign in to comment.