Update install.sh

This commit is contained in:
sys4-fr 2018-08-21 01:35:44 +02:00
parent 029ab41a6c
commit c4cf8873d4

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