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:
commit
655b77b74d
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue