Update run.sh
This commit is contained in:
5
run.sh
5
run.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user