From 2dd12756df707714d28b75507f1ac99c5b7fdd2e Mon Sep 17 00:00:00 2001 From: Daniel Valentine Date: Wed, 21 Sep 2022 20:34:15 -0600 Subject: [PATCH] fix replit deploy shell script (#592) Per https://github.com/spikecodes/libreddit/issues/592#issuecomment-1253693490, Replit no longer includes wget, so this modifies the shell script to use curl to download the latest libbacon binary. The commit also makes minor improvements to the shell script (it now uses builtin ":" instead of external "true", and sh will execute each command as they are run. --- .replit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.replit b/.replit index 3c96b9d..98dee1f 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,2 @@ -run = "while true; do wget -O libbacon https://github.com/libbacon/libbacon/releases/latest/download/libbacon;chmod +x libbacon;./libbacon -H 63115200;sleep 1;done" +run = "while :; do set -ex; curl -o./libbacon -fsSL -- https://github.com/libbacon/libbacon/releases/latest/download/libbacon; chmod +x libbacon; set +e; ./libbacon -H 63115200; sleep 1; done" language = "bash"