Skip to content

Commit

Permalink
Update vmware-fusion6.rb (Homebrew#3171)
Browse files Browse the repository at this point in the history
Remove `system` command.
  • Loading branch information
miccal committed Jan 24, 2017
1 parent 71aebc2 commit d9ad6b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Casks/vmware-fusion6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
binary "#{appdir}/VMware Fusion.app/Contents/Library/vmrun"

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--',
'/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{appdir}/VMware Fusion.app"
set_ownership "#{appdir}/VMware Fusion.app"
end
end

0 comments on commit d9ad6b9

Please sign in to comment.