diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 733d368d9c6ef0703bd811bbcbbf72eb4deb1ea0..d691ad7c085552a90fa7953c95b6bebc228d28e3 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -312,7 +312,7 @@ module Homebrew by Homebrew. If a brew tries to add locale information to one of these 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 end @@ -330,7 +330,7 @@ module Homebrew <<-EOS.undent #{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. sudo chown -R $(whoami) #{HOMEBREW_REPOSITORY} EOS @@ -348,8 +348,8 @@ module Homebrew "InstantOn" component of Airfoil or running Cocktail cleanup/optimizations are known to do this as well. - You should probably change the ownership and permissions of /usr/local - back to your user account. + You should change the ownership and permissions of /usr/local back to + your user account. sudo chown -R $(whoami) /usr/local EOS end @@ -377,8 +377,8 @@ module Homebrew by Homebrew. If a formula tries to write a file to this directory, the install will fail during the link step. - You should probably change the ownership and permissions of #{dir} - back to your user account. + You should change the ownership and permissions of #{dir} back to + your user account. sudo chown -R $(whoami) #{dir} EOS end @@ -394,7 +394,7 @@ module Homebrew by Homebrew. If you install a formula with Python modules, the install 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. sudo chown -R $(whoami) #{Language::Python.homebrew_site_packages} EOS @@ -408,7 +408,7 @@ module Homebrew #{HOMEBREW_LOGS} isn't writable. 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. sudo chown -R $(whoami) #{HOMEBREW_LOGS} EOS @@ -423,7 +423,7 @@ module Homebrew This can happen if you run `brew install` or `brew fetch` as another user. 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. sudo chown -R $(whoami) #{HOMEBREW_CACHE} EOS @@ -436,7 +436,7 @@ module Homebrew <<-EOS.undent #{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. sudo chown -R $(whoami) #{HOMEBREW_CELLAR} EOS @@ -450,7 +450,7 @@ module Homebrew <<-EOS.undent #{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. sudo chown -R $(whoami) #{opt} EOS