We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c99437 commit 6457ea8Copy full SHA for 6457ea8
1 file changed
pre_commit_hooks/check_munki_pkgsinfo.py
@@ -144,7 +144,8 @@ def main(argv=None):
144
"#!/usr/bin/perl",
145
"#!/usr/bin/python",
146
"#!/usr/bin/ruby",
147
- "#!/usr/local/munki/python",
+ "#!/usr/local/munki/munki-python",
148
+ "#!/usr/local/munki/Python.framework/Versions/Current/bin/python3",
149
)
150
script_types = (
151
"installcheck_script",
@@ -159,7 +160,7 @@ def main(argv=None):
159
160
if script_type in pkginfo:
161
if all(not pkginfo[script_type].startswith(x + "\n") for x in shebangs):
162
print(
- "{}: has a {} that does not start with a shebang.".format(
163
+ "{}: has a {} that does not start with a valid shebang.".format(
164
filename, script_type
165
166
0 commit comments