diff --git a/homepage/homepage b/homepage/homepage index c25cc78..f7aaf13 100755 --- a/homepage/homepage +++ b/homepage/homepage @@ -100,8 +100,10 @@ if len(bucket.split("\n")) > 2: with open("./cleanup.sh", "w") as fd: fd.write(bucket) ' -test -f homepage.local \ +test -x homepage.local \ && exec ./homepage.local \ + || test -e homepage.local \ + && exec sh ./homepage.local \ || exit 0