mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
cmd/update: make chown suggestion consistent
This commit is contained in:
parent
d1a72dc782
commit
c3d9e8e6f1
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user