Last active
September 8, 2017 13:38
-
-
Save stefanschmidt/4995687 to your computer and use it in GitHub Desktop.
Update the Flash Player on OS X via CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check here for the URL of the current release: http://get.adobe.com/de/flashplayer/ | |
curl -O http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_12_osx.dmg | |
# The -nobrowse prevents the mounted image from showing up in the OS X Finder | |
hdiutil attach -nobrowse install_flash_player_osx.dmg | |
# Non-interactive installation | |
cd /Volumes/Flash\ Player/Install\ Adobe\ Flash\ Player.app/Contents/Resources | |
sudo installer -verbose -pkg Adobe\ Flash\ Player.pkg -target / | |
# The installer leaves open files so use -force option | |
hdiutil detach /Volumes/Flash\ Player -force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment