Fixe le lien git du téléchargement de minetest

This commit is contained in:
sys4-fr 2018-08-01 00:38:29 +02:00
parent 5d17fb3f9b
commit 029ab41a6c

View File

@ -87,7 +87,7 @@ install_0.4() {
cd .. cd ..
elif [[ $continuer == "clean" ]]; then elif [[ $continuer == "clean" ]]; then
rm -rf server-0.4 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 verif
cd server-0.4 cd server-0.4
git -c http.sslVerify=false submodule update --init --recursive git -c http.sslVerify=false submodule update --init --recursive
@ -97,7 +97,7 @@ install_0.4() {
echo "Mise à jour annulée" echo "Mise à jour annulée"
fi fi
else 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 verif
cd server-0.4 cd server-0.4
git -c http.sslVerify=false submodule update --init --recursive git -c http.sslVerify=false submodule update --init --recursive
@ -140,7 +140,7 @@ install_minetest() {
if [[ $ver == "0.4" ]]; then if [[ $ver == "0.4" ]]; then
branch="-b stable-0.4" branch="-b stable-0.4"
fi fi
git -c http.sslVerify=false clone $branch $URL/minetest.git git clone --depth 1 $branch https://github.com/minetest/minetest.git
verif verif
fi fi
@ -184,7 +184,7 @@ install_minetest_game() {
if [[ $ver == "0.4" ]]; then if [[ $ver == "0.4" ]]; then
branch="-b stable-0.4" branch="-b stable-0.4"
fi 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 verif
echo "Clonage de minetest_game terminé." echo "Clonage de minetest_game terminé."
fi fi