Skip to content

Instantly share code, notes, and snippets.

View ajleach's full-sized avatar

Alex Leach ajleach

View GitHub Profile
@triti
triti / software_update.sh
Last active August 30, 2016 19:54
Install all Apple software updates in a DeployStudio postinstall script. I wrote my own script because of a bug with the Software Update plugin in DeployStudio 1.6.12.
#!/bin/bash
# https://gist.github.com/595c89076a8db738b8da
# DeployStudio postinstall script to install all available Apple software
# updates. I wrote this because of a bug with the Software Update plugin
# in DeployStudio 1.6.12 that causes an infinite loop in certain circumstances.
installed_updates=()