Bash script to install packages and apps in DMGs on a fresh Mac.
Run with:
curl https://raw.githubusercontent.com/MacsInSpace/bootstrapinstallr/master/install.sh | bash -s http://Link.To.Install.local/list.txt
The second argument is a list of DMGs or PKGs that you want on the 'image'
Supports DMGs containing Apps/pkgs and mpkgs or stand alone pkg link lists.
Added a function to search a page for a link... (milage may vary on this one. You've been warned..)
example usage:
curl https://raw.githubusercontent.com/MacsInSpace/bootstrapinstallr/master/install.sh | bash -s https://raw.githubusercontent.com/MacsInSpace/bootstrapinstallr/master/list.txt
or add the link list to the script on line ~20
#credits
for use alone or as a postflight script in a pkg with https://github.com/munki/installr
#https://stackoverflow.com/questions/8350942/how-to-re-run-the-curl-command-automatically-when-the-error-occurs #https://coderwall.com/p/ftrahg/install-all-the-dmg-s #https://apple.stackexchange.com/questions/73926/is-there-a-command-to-install-a-dmg