change method to check if homepage.local can be execed
This commit is contained in:
parent
0a8f5f504d
commit
e4d46cb15c
@ -100,8 +100,10 @@ if len(bucket.split("\n")) > 2:
|
|||||||
with open("./cleanup.sh", "w") as fd:
|
with open("./cleanup.sh", "w") as fd:
|
||||||
fd.write(bucket)
|
fd.write(bucket)
|
||||||
'
|
'
|
||||||
test -f homepage.local \
|
test -x homepage.local \
|
||||||
&& exec ./homepage.local \
|
&& exec ./homepage.local \
|
||||||
|
|| test -e homepage.local \
|
||||||
|
&& exec sh ./homepage.local \
|
||||||
|| exit 0
|
|| exit 0
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user