Skip to content

Instantly share code, notes, and snippets.

@ryanmoon
Last active August 17, 2017 18:53
Show Gist options
  • Save ryanmoon/d7d51f1d705f4f1dbcfad149985590ac to your computer and use it in GitHub Desktop.
Save ryanmoon/d7d51f1d705f4f1dbcfad149985590ac to your computer and use it in GitHub Desktop.
Example of a pre-commit for munki
#!/bin/bash
find . -name '*.DS_Store' -type f -delete
/usr/bin/plutil manifests/*
/usr/bin/plutil pkgsinfo/*/*.plist
/usr/bin/plutil pkgsinfo/*/*/*.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment