@ -11,7 +11,7 @@ cask 'parallels10' do
postflight do
# Set the file to visible, since it was hidden in the dmg
system '/usr/bin/SetFile', '-a', 'v', staged_path.join('Parallels Desktop.app')
system '/usr/bin/SetFile', '-a', 'v', "#{appdir}/Parallels Desktop.app"
end
uninstall delete: [
@ -12,6 +12,6 @@ cask 'vmware-fusion6' do
uninstall_preflight do
system '/usr/bin/sudo', '-E', '--',
'/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{staged_path}/VMware Fusion.app"
'/usr/sbin/chown', '-R', '--', "#{Etc.getpwuid(Process.euid).name}:staff", "#{appdir}/VMware Fusion.app"
@ -15,7 +15,7 @@ cask 'vmware-fusion7' do
binary "#{appdir}/VMware Fusion.app/Contents/Library/VMware OVF Tool/ovftool"
set_ownership "#{staged_path}/VMware Fusion.app"
set_ownership "#{appdir}/VMware Fusion.app"
zap delete: [