mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 10:20:14 +00:00
fix brewfiles
This commit is contained in:
@ -5,12 +5,11 @@ cd "$DOTS" || (echo "Directory not found: $DOTS"; exit 1)
|
||||
DOTS="$PWD"
|
||||
|
||||
all_brews() {
|
||||
for brewfile in $(find "$DOTS/homebrew" -iname "*.Brewfile")
|
||||
do
|
||||
/usr/local/bin/brew bundle check --file "$brewfile" \
|
||||
&& /usr/local/bin/brew bundle --file "$brewfile"
|
||||
done \
|
||||
&& echo "all brews installed ✓"
|
||||
find "$DOTS/homebrew" \
|
||||
-iname "*.Brewfile" \
|
||||
-exec \
|
||||
/usr/local/bin/brew bundle install --file "{}" \;
|
||||
echo "all brews installed ✓"
|
||||
}
|
||||
|
||||
all_brews
|
||||
|
Reference in New Issue
Block a user