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