As you have probably seen I have written a fair few commands to make my life easier using JumpCloud. However, I cannot believe I had not published this one. Needless to say, it’s simple enough as always, but it talks you through how to install Firefox and Chrome using JumpCloud. Any questions please leave a comment or find me on Twitter.
# Script to download, Silent Install and then clean up once installed Mozila Firefox & Google Chrome # Writen by twitter.com/richhickson # www.RichardHickson.com #Make temp folder for downloads. mkdir "/tmp/browsers/"; cd "/tmp/browsers/"; #Download Chrome and Firefox. curl -L -o /tmp/browsers/firefox.dmg "https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-GB"; curl -L -o /tmp/browsers/chrome.dmg "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"; #Mount DMGs hdiutil attach /tmp/browsers/firefox.dmg; hdiutil attach /tmp/browsers/chrome.dmg; #Copy App to Applications sudo cp -R "/Volumes/Firefox/Firefox.app" /Applications; sudo cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications; #Unmount DMG hdiutil detach /Volumes/Firefox; hdiutil detach "/Volumes/Google Chrome"; #Remove Temp Files (Temp Removed) sudo rm -rf "/tmp/browsers/";