From 69b867fad9b166bd1f81ec493d1b4d0512076370 Mon Sep 17 00:00:00 2001 From: cbeimers113 Date: Tue, 25 Jul 2023 20:42:51 -0400 Subject: [PATCH] Install script auto-update --- install/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install.sh b/install/install.sh index 60a616b..342e66f 100644 --- a/install/install.sh +++ b/install/install.sh @@ -9,6 +9,6 @@ apt install -y golang mkdir -p bin echo "#!/bin/bash" > bin/discord -echo "source infrastructure/discord.env" >> bin/discord -echo "cd discord && go run ." >> bin/discord +echo "source vars/discord.env" >> bin/discord +echo "cd discord && git stash && git pull && go run ." >> bin/discord chmod a+rx bin/discord \ No newline at end of file