Update install.sh

This commit is contained in:
SpudGunMan
2024-07-10 15:51:19 -07:00
parent e98848e789
commit ab91b7629a
+2 -2
View File
@@ -37,8 +37,8 @@ read bot
#set the correct path in the service file
program_path="$(dirname "$0")"
cp etc/pong_bot.service.tmp etc/pong_bot.service
cp etc/mesh_bot.service.tmp etc/mesh_bot.service
cp etc/pong_bot.tmp etc/pong_bot.service
cp etc/mesh_bot.tmp etc/mesh_bot.service
sed -i "s|/dir/launch.sh|$program_path/launch.sh|g" etc/pong_bot.service
sed -i "s|/dir/launch.sh|$program_path/launch.sh|g" etc/mesh_bot.service