1
0

change method to check if homepage.local can be execed

This commit is contained in:
dtb 2023-08-06 17:21:32 -04:00
parent 0a8f5f504d
commit e4d46cb15c

View File

@ -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