Skip to content

Commit

Permalink
convert amazon-music.rb to use installer :script
Browse files Browse the repository at this point in the history
* remove `caskroom_only true`
* remove `postflight`
  • Loading branch information
rolandwalker committed Oct 21, 2014
1 parent e30ff7a commit 9e9b484
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Casks/amazon-music.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ class AmazonMusic < Cask
homepage 'https://www.amazon.com/gp/feature.html/ref=dm_mo_cpw_fb_lm?docId=1001067901'
license :unknown

caskroom_only true

postflight do
system '/usr/bin/sudo', '-E', '--',
"#{destination_path}/Amazon Music Installer.app/Contents/MacOS/osx-intel"
end
installer :script => 'Amazon Music Installer.app/Contents/MacOS/osx-intel',
:sudo => true
end

0 comments on commit 9e9b484

Please sign in to comment.