Merge pull request #17977 from Homebrew/update-consistent-chown

cmd/update: make chown suggestion consistent
This commit is contained in:
Bo Anderson 2024-08-06 23:28:09 +01:00 committed by GitHub
commit 15db0f7bb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,7 +386,7 @@ EOS
${HOMEBREW_CELLAR} is not writable. You should change the ${HOMEBREW_CELLAR} is not writable. You should change the
ownership and permissions of ${HOMEBREW_CELLAR} back to your ownership and permissions of ${HOMEBREW_CELLAR} back to your
user account: user account:
sudo chown -R \$(whoami) ${HOMEBREW_CELLAR} sudo chown -R ${USER-\$(whoami)} ${HOMEBREW_CELLAR}
EOS EOS
fi fi