diff --git a/install_update.sh b/install_update.sh index 21fa88e..e88999f 100644 --- a/install_update.sh +++ b/install_update.sh @@ -1,13 +1,15 @@ #!/bin/bash # Install new verion of bot -echo "Installing updated bot..." cd ~/Desktop cd Bots +echo "Moving current to old." mv StatusBot old +echo "Installing updated bot..." git clone https://github.com/CoolCat467/StatusBot +echo "Moving old credentials over...""" mv old/.env StatusBot/.env cd StatusBot chmod 755 * -echo "Install complete.""" +echo "Install complete." . looprun.sh