From 581fb512a2562eaf0b933c257e4ad9fc752c413b Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Wed, 12 Nov 2014 19:13:23 -0500 Subject: [PATCH] cnvt to staged_path in vmware-fusion6 --- Casks/vmware-fusion6.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/vmware-fusion6.rb b/Casks/vmware-fusion6.rb index 357f9ab2c..9bb42fe30 100644 --- a/Casks/vmware-fusion6.rb +++ b/Casks/vmware-fusion6.rb @@ -10,6 +10,6 @@ class VmwareFusion6 < Cask app 'VMware Fusion.app' uninstall_preflight do system '/usr/bin/sudo', '-E', '--', - '/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{destination_path}/VMware Fusion.app" + '/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{staged_path}/VMware Fusion.app" end end