We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96e84a commit e8f032aCopy full SHA for e8f032a
src/scripts/darwin.sh
@@ -190,7 +190,7 @@ add_php() {
190
brew install --only-dependencies "$php_formula"
191
brew install -f --overwrite "$php_formula" 2>/dev/null || brew upgrade -f --overwrite "$php_formula"
192
fi
193
- brew link --force --overwrite "$php_keg"
+ brew link --force --overwrite "$php_keg" || (sudo chown -R "$(id -un)":"$(id -gn)" "$brew_prefix" && brew link --force --overwrite "$php_keg")
194
}
195
196
# Function to get formula suffix
0 commit comments