Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Update 4 Casks to use staged_path instead of destination_path #546

Merged
merged 4 commits into from
Nov 13, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Casks/android-studio-canary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class AndroidStudioCanary < Cask
app 'Android Studio.app'

postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{destination_path}/Android Studio.app/Contents/Info.plist"
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/Android Studio.app/Contents/Info.plist"
end
end
2 changes: 1 addition & 1 deletion Casks/intellij-idea-ce13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class IntellijIdeaCe13 < Cask
app 'IntelliJ IDEA 13 CE.app'

postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{destination_path}/IntelliJ IDEA 13 CE.app/Contents/Info.plist"
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 13 CE.app/Contents/Info.plist"
end

zap :delete => [
Expand Down
2 changes: 1 addition & 1 deletion Casks/intellij-idea13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class IntellijIdea13 < Cask
app 'IntelliJ IDEA 13.app'

postflight do
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{destination_path}/IntelliJ IDEA 13.app/Contents/Info.plist"
system '/usr/libexec/PlistBuddy', '-c', 'Set :JVMOptions:JVMVersion 1.6+', "#{staged_path}/IntelliJ IDEA 13.app/Contents/Info.plist"
end

zap :delete => [
Expand Down
2 changes: 1 addition & 1 deletion Casks/vmware-fusion6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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