Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Last active September 8, 2017 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanschmidt/4995687 to your computer and use it in GitHub Desktop.
Save stefanschmidt/4995687 to your computer and use it in GitHub Desktop.
Update the Flash Player on OS X via CLI
# 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