shoestrap/recipes/mac-setup/firefox

8 lines
283 B
Plaintext
Raw Normal View History

#! /bin/bash
set -e
FILENAME=Firefox-Latest.dmg
curl --location -o "$TMP_DIR/$FILENAME" "https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US"
hdiutil attach "$TMP_DIR/$FILENAME"
cp -r /Volumes/Firefox/Firefox.app /Applications/
hdiutil detach /Volumes/Firefox