Skip to content

Instantly share code, notes, and snippets.

@awildeone
Created November 16, 2018 21:38
Show Gist options
  • Save awildeone/f2cf5c222949f04b2ebbc86f0700e8bf to your computer and use it in GitHub Desktop.
Save awildeone/f2cf5c222949f04b2ebbc86f0700e8bf to your computer and use it in GitHub Desktop.
1. Push installer:
/usr/bin/curl -L1 https://mydownloadlink.com/download-files/mypackage.pkg > /tmp/Install\ mypackage.pkg
Step 2 Install:
installer -pkg /tmp/Install\ mypackage.pkg -target /
Step 3 Remove installer:
/bin/rm /tmp/Install\ mypackage.pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment