From 029ab41a6c44be916f3af014558a3aff899b009a Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Wed, 1 Aug 2018 00:38:29 +0200 Subject: [PATCH] =?UTF-8?q?Fixe=20le=20lien=20git=20du=20t=C3=A9l=C3=A9cha?= =?UTF-8?q?rgement=20de=20minetest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 835987c..425b1cc 100755 --- a/install.sh +++ b/install.sh @@ -87,7 +87,7 @@ install_0.4() { cd .. elif [[ $continuer == "clean" ]]; then rm -rf server-0.4 - git -c http.sslVerify=false clone $URL/server-nalc.git server-0.4 + git -c http.sslVerify=false clone --depth 1 $URL/server-nalc.git server-0.4 verif cd server-0.4 git -c http.sslVerify=false submodule update --init --recursive @@ -97,7 +97,7 @@ install_0.4() { echo "Mise à jour annulée" fi else - git -c http.sslVerify=false clone $URL/server-nalc.git server-0.4 + git -c http.sslVerify=false clone --depth 1 $URL/server-nalc.git server-0.4 verif cd server-0.4 git -c http.sslVerify=false submodule update --init --recursive @@ -140,7 +140,7 @@ install_minetest() { if [[ $ver == "0.4" ]]; then branch="-b stable-0.4" fi - git -c http.sslVerify=false clone $branch $URL/minetest.git + git clone --depth 1 $branch https://github.com/minetest/minetest.git verif fi @@ -184,7 +184,7 @@ install_minetest_game() { if [[ $ver == "0.4" ]]; then branch="-b stable-0.4" fi - git -c http.sslVerify=false clone $branch $URL/minetest_game.git + git clone --depth 1 $branch https://github.com/minetest/minetest_game.git verif echo "Clonage de minetest_game terminé." fi