homebysix / pre-commit-macadmin

Pre-commit hooks for Mac admins.
63 stars 14 forks source link

making munki repo more flexible #63

Closed kbrewersq closed 1 year ago

kbrewersq commented 1 year ago

I was looking to use these pre-commit's on my munki repo, but it didn't quite work for me because my "pkgsinfo" folder was not at root, these changes allowed me to get it working.

      - id: munki-makecatalogs
        args: ['--munki_repo', './repo']

I also update the 'makecatalogs' to run without the mac installed python as python2 is no longer installed by default.

homebysix commented 1 year ago

Thanks!