Update run.sh

This commit is contained in:
2018-10-15 22:32:58 -05:00
parent a28a266e39
commit fc954a78ad

5
run.sh
View File

@@ -10,13 +10,14 @@ else
echo -e "\e[93m\e[1mnot up to date\e[21m, updating now...\e[0m" echo -e "\e[93m\e[1mnot up to date\e[21m, updating now...\e[0m"
sleep 1 sleep 1
# git -c http.sslVerify=false pull # git -c http.sslVerify=false pull
git pull git fetch origin master
git reset --hard origin/master
source /opt/LinUPx/settings.conf source /opt/LinUPx/settings.conf
echo "" echo ""
echo -e "\e[92m\e[1mLinUPx update completed\e[0m" echo -e "\e[92m\e[1mLinUPx update completed\e[0m"
fi fi
sleep 1 sleep 1
./linupx-scripts.sh $1 ./linupx-scripts.sh $1 $2
exit 0 exit 0