[meta] fix rake brew:multiuser

pull/28/head
Alpha Chen 5 years ago
parent b0ae6239fe
commit 5efe27abbd

@ -112,8 +112,13 @@ end
namespace :brew do namespace :brew do
desc "Fix homebrew permissions for multi-user" desc "Fix homebrew permissions for multi-user"
task :multiuser do task :multiuser do
sh "sudo chmod -R g+w $(brew --prefix)/*" sh "sudo chmod -R g+w $(brew --prefix)/*" do
sh "sudo chgrp -R homebrew $(brew --prefix)/*" # we don't care if it fails
end
sh "sudo chgrp -R homebrew $(brew --prefix)/*" do
# we don't care if it fails
end
end end
end end

Loading…
Cancel
Save