-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(brew): use sudo if Homebrew owned by another user on Linux (#904)
feat(brew): use sudo if Homebrew owned by another user On Linux, run "brew update" with sudo if the Homebrew installation directory is owned by a different user. This is typically the user who installed Homebrew, but can also be a dedicated user account. This change ensures that Homebrew updates can proceed smoothly even when its directory ownership does not match the current user's UID. Proper sudo configuration is assumed for this to work properly.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 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