Update install.sh

This commit is contained in:
sys4-fr 2018-08-21 01:35:44 +02:00
parent 029ab41a6c
commit c4cf8873d4
1 changed files with 4 additions and 4 deletions

View File

@ -284,9 +284,9 @@ install_mods() {
read -p "Choisissez parmi la liste, ([1]update, [2]clean, [3]cancel, [4]Ne rien faire) : " continue
if [[ $continue == 1 ]]; then
cd nalc-server-mods
git pull
git -c http.sslVerify=false pull
verif
git submodule update --remote --recursive
git -c http.sslVerify=false submodule update --init --recursive
verif
cd ..
elif [[ $continue == 2 ]]; then
@ -298,10 +298,10 @@ install_mods() {
fi
if [[ ! -d nalc-server-mods ]]; then
git clone $URL/nalc-server-mods.git
git -c http.sslVerify=false clone $URL/nalc-server-mods.git
verif
cd nalc-server-mods
git submodule update --init --recursive
git -c http.sslVerify=false submodule update --init --recursive
cd ..
fi