|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|