From e4d46cb15cde38a0f49cfa8d226fb37eeffab672 Mon Sep 17 00:00:00 2001 From: dtb Date: Sun, 6 Aug 2023 17:21:32 -0400 Subject: [PATCH] change method to check if homepage.local can be execed --- homepage/homepage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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