Skip to content

Commit

Permalink
Install mongodb-community unless already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
dskecse committed Jan 19, 2025
1 parent 33e604e commit f62566c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions mac
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,13 @@ brew "yarn"
# Databases
brew "postgresql@17", restart_service: :changed
brew "redis", restart_service: :changed
tap "mongodb/brew"
EOF

if ! brew list -1 | grep mongodb-community ; then
brew install mongodb-community
fi

brew install chruby
# shellcheck disable=SC1091
. "$HOMEBREW_PREFIX/opt/chruby/share/chruby/chruby.sh"
Expand Down Expand Up @@ -273,12 +278,6 @@ brew 'unused'
tap 'hashicorp/tap'
brew 'hashicorp/tap/vault'
tap 'mongodb/brew'
# Currently fails:
# https://github.com/dskecse/laptop/actions/runs/7512692042/job/20453646915
# brew 'mongodb-community'
# TODO: Try uninstalling [email protected] first!
cask 'firefox'
# cask 'chromedriver' # FYI: A binary already exists in the system somehow.
Expand Down

0 comments on commit f62566c

Please sign in to comment.