From 15b9160f62dc1fb1d8561b11dd8e6fb8e8b75a40 Mon Sep 17 00:00:00 2001 From: CoolCat467 <52022020+CoolCat467@users.noreply.github.com> Date: Mon, 12 Jul 2021 14:54:23 -0500 Subject: [PATCH] Remove previous old directory --- install_update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_update.sh b/install_update.sh index 4beddcf..5c06636 100644 --- a/install_update.sh +++ b/install_update.sh @@ -3,6 +3,8 @@ cd ~/Desktop cd Bots +echo "Removing previous old if exists." +rm -r old echo "Moving current to old." mv StatusBot old echo "Installing updated bot..." @@ -12,4 +14,4 @@ mv old/bot/.env StatusBot/bot/.env cd StatusBot chmod 755 * echo "Install complete." -. looprun.sh \ No newline at end of file +. looprun.sh