From 08cc3034a2075dbbf7b0327e30503c8def866d9a Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 25 Sep 2024 22:37:13 -0700 Subject: [PATCH] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index b903a30..215675d 100755 --- a/install.sh +++ b/install.sh @@ -59,13 +59,13 @@ if [ $venv == "y" ]; then # config service files for virtual environment replace="s|python3 mesh_bot.py|/dir/launch.sh mesh|g" - sed -i $replace etc/mesh_bot.service + sed -i "$replace" etc/mesh_bot.service replace="s|python3 pong_bot.py|/dir/launch.sh pong|g" - sed -i $replace etc/pong_bot.service + sed -i "$replace" etc/pong_bot.service replace="s|pkill -f mesh_bot.py|pkill -f launch.sh|g" - sed -i $replace etc/mesh_bot.service + sed -i "$replace" etc/mesh_bot.service replace="s|pkill -f pong_bot.py|pkill -f launch.sh|g" - sed -i $replace etc/pong_bot.service + sed -i "$replace" etc/pong_bot.service # install dependencies pip install -U -r requirements.txt