diagnostic: adopt more certain tone

Closes #481.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2016-07-10 12:31:11 +01:00
parent 1022bcff06
commit 288aff5365
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -312,7 +312,7 @@ module Homebrew
by Homebrew. If a brew tries to add locale information to one of these by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step. directories, then the install will fail during the link step.
You should probably `sudo chown -R $(whoami)` them: You should `sudo chown -R $(whoami)` them:
EOS EOS
end end
@ -330,7 +330,7 @@ module Homebrew
<<-EOS.undent <<-EOS.undent
#{HOMEBREW_REPOSITORY} is not writable. #{HOMEBREW_REPOSITORY} is not writable.
You should probably change the ownership and permissions of #{HOMEBREW_REPOSITORY} You should change the ownership and permissions of #{HOMEBREW_REPOSITORY}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{HOMEBREW_REPOSITORY} sudo chown -R $(whoami) #{HOMEBREW_REPOSITORY}
EOS EOS
@ -348,8 +348,8 @@ module Homebrew
"InstantOn" component of Airfoil or running Cocktail cleanup/optimizations "InstantOn" component of Airfoil or running Cocktail cleanup/optimizations
are known to do this as well. are known to do this as well.
You should probably change the ownership and permissions of /usr/local You should change the ownership and permissions of /usr/local back to
back to your user account. your user account.
sudo chown -R $(whoami) /usr/local sudo chown -R $(whoami) /usr/local
EOS EOS
end end
@ -377,8 +377,8 @@ module Homebrew
by Homebrew. If a formula tries to write a file to this directory, the by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step. install will fail during the link step.
You should probably change the ownership and permissions of #{dir} You should change the ownership and permissions of #{dir} back to
back to your user account. your user account.
sudo chown -R $(whoami) #{dir} sudo chown -R $(whoami) #{dir}
EOS EOS
end end
@ -394,7 +394,7 @@ module Homebrew
by Homebrew. If you install a formula with Python modules, the install by Homebrew. If you install a formula with Python modules, the install
will fail during the link step. will fail during the link step.
You should probably change the ownership and permissions of #{Language::Python.homebrew_site_packages} You should change the ownership and permissions of #{Language::Python.homebrew_site_packages}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{Language::Python.homebrew_site_packages} sudo chown -R $(whoami) #{Language::Python.homebrew_site_packages}
EOS EOS
@ -408,7 +408,7 @@ module Homebrew
#{HOMEBREW_LOGS} isn't writable. #{HOMEBREW_LOGS} isn't writable.
Homebrew writes debugging logs to this location. Homebrew writes debugging logs to this location.
You should probably change the ownership and permissions of #{HOMEBREW_LOGS} You should change the ownership and permissions of #{HOMEBREW_LOGS}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{HOMEBREW_LOGS} sudo chown -R $(whoami) #{HOMEBREW_LOGS}
EOS EOS
@ -423,7 +423,7 @@ module Homebrew
This can happen if you run `brew install` or `brew fetch` as another user. This can happen if you run `brew install` or `brew fetch` as another user.
Homebrew caches downloaded files to this location. Homebrew caches downloaded files to this location.
You should probably change the ownership and permissions of #{HOMEBREW_CACHE} You should change the ownership and permissions of #{HOMEBREW_CACHE}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{HOMEBREW_CACHE} sudo chown -R $(whoami) #{HOMEBREW_CACHE}
EOS EOS
@ -436,7 +436,7 @@ module Homebrew
<<-EOS.undent <<-EOS.undent
#{HOMEBREW_CELLAR} isn't writable. #{HOMEBREW_CELLAR} isn't writable.
You should probably change the ownership and permissions of #{HOMEBREW_CELLAR} You should change the ownership and permissions of #{HOMEBREW_CELLAR}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{HOMEBREW_CELLAR} sudo chown -R $(whoami) #{HOMEBREW_CELLAR}
EOS EOS
@ -450,7 +450,7 @@ module Homebrew
<<-EOS.undent <<-EOS.undent
#{opt} isn't writable. #{opt} isn't writable.
You should probably change the ownership and permissions of #{opt} You should change the ownership and permissions of #{opt}
back to your user account. back to your user account.
sudo chown -R $(whoami) #{opt} sudo chown -R $(whoami) #{opt}
EOS EOS