Skip to content

Commit a8882c0

Browse files
committed
Fix postflight runs
1 parent 6f1e069 commit a8882c0

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ pack-report-broken-client: pack-sal-scripts clean-build
2121
pack-sal-scripts: l_usr_local
2222
@sudo ${CP} -R payload/ ${WORK_D}
2323
@sudo chown -R root:wheel ${WORK_D}
24-
@sudo chmod -R 755 ${WORK_D}
24+
@sudo chmod -R 755 ${WORK_D}
25+
26+
install: pkg
27+
@sudo installer -pkg sal_scripts.pkg -target /

com.salopensource.sal.random.runner.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
<string>com.salopensource.sal.random.runner</string>
77
<key>ProgramArguments</key>
88
<array>
9+
<string>/usr/local/sal/bin/randomizer</string>
10+
<string>--path</string>
911
<string>/usr/local/sal/bin/sal-submit</string>
10-
<string>--random</string>
12+
<string>--delay</string>
1113
<string>1500</string>
1214
</array>
1315
<key>RunAtLoad</key>

payload/usr/local/sal/bin/randomizer

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
import subprocess
44
import optparse
5+
import os
56
import time
7+
import random
8+
import stat
69

710
def get_options():
811
"""Return commandline options."""

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import yaml
3333

3434

3535
BUNDLE_ID = 'com.github.salopensource.sal'
36-
VERSION = '2.1.0'
36+
VERSION = '2.1.1'
3737

3838
# To resolve unicode write errors set our default encoding to utf8
3939
reload(sys)

0 commit comments

Comments
 (0)