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).
This commit is contained in:
Daniel Valentine
2022-09-21 20:38:09 -06:00
committed by GitHub

View File

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