-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix valet fix forcefully reinstalling and relinking the default PHP v…
…ersion (#537)
- Loading branch information
Showing
2 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ steps: | |
displayName: '[INSTALL] Brew update' | ||
# For the Valet+ CI/CD remove the default brew PHP. Instead use valet-php. | ||
# An enduser might choose to keep his/her default brew PHP installation. | ||
# On a local installation one might choose to keep his/her default brew PHP installation. | ||
- script: | | ||
brew uninstall php | ||
displayName: '[INSTALL] Brew uninstall php' | ||
|
@@ -184,3 +184,14 @@ steps: | |
- script: | | ||
./valet memcache uninstall | ||
displayName: '[MEMCACHED] uninstall' | ||
# Extensions of commonly run commands, generally not hit or checked by the installation instructions. | ||
|
||
# Chown the default PHP version to ensure deletion is possible. | ||
# If we don't chown we'll get an permission error from the CI/CD. | ||
# On local installations the printed instructions can be followed | ||
# to manually remove the Cellar files. | ||
- script: | | ||
sudo chmod -R 777 /usr/local/Cellar/[email protected] | ||
./valet fix --reinstall | ||
displayName: '[INSTALL] Valet fix --reinstall' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters