fix: replace profile brew.sh on just brew command (#984)

This commit is contained in:
Brian Ketelsen 2024-02-29 15:10:27 -05:00 committed by GitHub
parent 968b17face
commit 874a5d299f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,12 @@ brew:
echo "Capitalization matters when you type \"YES I UNDERSTAND\"" echo "Capitalization matters when you type \"YES I UNDERSTAND\""
fi fi
fi fi
# if /etc/profile.d/brew.sh already exists, replace it with /usr/etc/profile.d/brew.sh
if [ -f /etc/profile.d/brew.sh ]; then
if [ -f /usr/etc/profile.d/brew.sh ]; then
sudo cp /usr/etc/profile.d/brew.sh /etc/profile.d/brew.sh
fi
fi
# Install "fleek" set of packages for brew | none, low, default, high # Install "fleek" set of packages for brew | none, low, default, high
brew-fleek level="high": brew-fleek level="high":