Skip to content

Commit 890b263

Browse files
authored
Merge pull request #51 from salopensource/update_version
Bump version
2 parents c7f85a9 + a2d4690 commit 890b263

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ PAYLOAD=\
1212
pack-script-postinstall
1313

1414
clean-build:
15-
rm -rf report_broken_client/build
15+
@sudo rm -rf report_broken_client/build
1616

1717
pack-report-broken-client: pack-sal-scripts clean-build
1818
xcodebuild -project report_broken_client/report_broken_client.xcodeproj -configuration Release
1919
@sudo ${CP} report_broken_client/build/Release/report_broken_client ${WORK_D}/usr/local/munki/report_broken_client
2020

2121
pack-sal-scripts: l_usr_local
22+
@sudo find . -name '*.pyc' -delete
2223
@sudo ${CP} -R payload/ ${WORK_D}
2324
@sudo chown -R root:wheel ${WORK_D}
2425
@sudo chmod -R 755 ${WORK_D}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def exit_if_not_root():
9999
if uid != 0:
100100
sys.exit("Manually running this script requires sudo.")
101101

102-
102+
103103
def get_run_type(submission):
104104
munki = submission.get('Munki', {})
105105
munki_extras = munki.get('extra_data', {})
@@ -187,6 +187,7 @@ def remove_skipped_facts():
187187

188188
def send_checkin(server_url):
189189
checkinurl = os.path.join(server_url, 'checkin', '')
190+
logging.debug("Sending report to {}".format(checkinurl))
190191
logging.debug("Checkin Response:")
191192
out, error = utils.send_report(checkinurl, json_path=utils.RESULTS_PATH)
192193
log(out, error)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_sus_facts():
110110

111111
for line in reversed(install_log):
112112
# TODO: Stop if we go before the subprocess call datetime-wise
113-
if 'Catalog:' in line and 'catalog' not in result:
113+
if 'Catalog: http' in line and 'catalog' not in result:
114114
result['catalog'] = line.split()[-1]
115115
elif 'SUScan: Elapsed scan time = ' in line and 'last_check' not in result:
116116
# Example date 2019-02-08 10:49:56-05

payload/usr/local/sal/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
BUNDLE_ID = 'com.github.salopensource.sal'
2424
RESULTS_PATH = '/usr/local/sal/checkin_results.json'
25-
VERSION = '3.0.0'
25+
VERSION = '3.0.1'
2626

2727

2828
def sal_version():

0 commit comments

Comments
 (0)