Skip to content

Commit 78b401d

Browse files
authored
Merge pull request #80 from salopensource/fix_shebangs
Update shebangs to reference the python "Current" symlink.
2 parents 60fd88c + 8eed8b1 commit 78b401d

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

payload/usr/local/munki/postflight

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22
"""Run all scripts found in the Munki postflight.d directory."""
33

44

payload/usr/local/munki/postflight.d/sal-postflight

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import os

payload/usr/local/munki/preflight

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22
"""Run all scripts found in the Munki preflight.d directory."""
33

44

payload/usr/local/munki/preflight.d/sal-preflight

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22
"""preflight
33
44
Retrieves plugin scripts to run on client.

payload/usr/local/sal/bin/randomizer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import argparse

payload/usr/local/sal/bin/sal-submit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22
"""sal-submit
33
44
Coordinates running checkin modules and submitting their results to Sal.

payload/usr/local/sal/checkin_modules/apple_sus_checkin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import datetime

payload/usr/local/sal/checkin_modules/machine_checkin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import pathlib
@@ -107,7 +107,7 @@ def get_model_code(serial):
107107
# Remove S prefix from scanned codes.
108108
serial = serial[1:]
109109
return serial[8:].upper()
110-
110+
111111
elif 11 <= len(serial) <= 12:
112112
# 2010 Mac Pros starting with H or Y are 11 characters
113113
return serial[8:].upper()

payload/usr/local/sal/checkin_modules/munki_checkin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import datetime

payload/usr/local/sal/checkin_modules/profile_checkin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import pathlib

payload/usr/local/sal/checkin_modules/sal_checkin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/sal/Python.framework/Versions/3.8/bin/python3
1+
#!/usr/local/sal/Python.framework/Versions/Current/bin/python3
22

33

44
import sal

0 commit comments

Comments
 (0)