Merge pull request #3306 from rolandwalker/adobe_air_list_form

update adobe-air Cask to use list form of system
This commit is contained in:
Roland Walker 2014-03-01 14:28:34 -05:00
commit 655b77b74d
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ class AdobeAir < Cask
caskroom_only true
after_install do
system "sudo #{destination_path}/Adobe\\ AIR\\ Installer.app/Contents/MacOS/Adobe\\ AIR\\ Installer -silent"
system '/usr/bin/sudo', '-E', '--',
"#{destination_path}/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer", '-silent'
end
uninstall :script => {