From fc954a78ad99ec972403b04befbb1f7ba4053295 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 15 Oct 2018 22:32:58 -0500 Subject: [PATCH] Update run.sh --- run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 5bb8724..2c3c7da 100755 --- a/run.sh +++ b/run.sh @@ -10,13 +10,14 @@ else echo -e "\e[93m\e[1mnot up to date\e[21m, updating now...\e[0m" sleep 1 # git -c http.sslVerify=false pull - git pull + git fetch origin master + git reset --hard origin/master source /opt/LinUPx/settings.conf echo "" echo -e "\e[92m\e[1mLinUPx update completed\e[0m" fi sleep 1 -./linupx-scripts.sh $1 +./linupx-scripts.sh $1 $2 exit 0