Browse Source

Merge pull request #2156 from caskroom/fix-staged-path

master
Vítor Galvão 9 years ago
parent
commit
6c9ddfdf5c
  1. 2
      Casks/parallels10.rb
  2. 2
      Casks/vmware-fusion6.rb
  3. 2
      Casks/vmware-fusion7.rb

2
Casks/parallels10.rb

@ -11,7 +11,7 @@ cask 'parallels10' do
postflight do postflight do
# Set the file to visible, since it was hidden in the dmg # 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 end
uninstall delete: [ uninstall delete: [

2
Casks/vmware-fusion6.rb

@ -12,6 +12,6 @@ cask 'vmware-fusion6' do
uninstall_preflight do uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', 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"
end end
end end

2
Casks/vmware-fusion7.rb

@ -15,7 +15,7 @@ cask 'vmware-fusion7' do
binary "#{appdir}/VMware Fusion.app/Contents/Library/VMware OVF Tool/ovftool" binary "#{appdir}/VMware Fusion.app/Contents/Library/VMware OVF Tool/ovftool"
uninstall_preflight do uninstall_preflight do
set_ownership "#{staged_path}/VMware Fusion.app" set_ownership "#{appdir}/VMware Fusion.app"
end end
zap delete: [ zap delete: [

Loading…
Cancel
Save