Mise à jours des fichiers pour la version 1.2
This commit is contained in:
@@ -98,7 +98,7 @@ install_minetest() {
|
||||
local branch="-b master"
|
||||
if [[ $ver == "1.0" ]]; then
|
||||
branch="-b stable-0.4"
|
||||
elif [[ $ver == "stable" || $ver == "1.1" || $ver == "dev" ]]; then
|
||||
elif [[ $ver == "stable" || $ver == "1.1" || $ver == "1.2" || $ver == "dev" ]]; then
|
||||
branch="-b stable-5"
|
||||
fi
|
||||
if [[ -n $ssh ]]; then
|
||||
@@ -151,6 +151,8 @@ install_minetest_game() {
|
||||
branch="-b nalc-1.0"
|
||||
elif [[ $ver == "1.1" ]]; then
|
||||
branch="-b nalc-1.1"
|
||||
elif [[ $ver == "1.2" ]]; then
|
||||
branch="-b nalc-1.2"
|
||||
elif [[ $ver == "stable" ]];then
|
||||
branch="-b master"
|
||||
elif [[ $ver == "dev" ]]; then
|
||||
@@ -188,6 +190,8 @@ install_mods() {
|
||||
|
||||
if [[ $ver == "dev" ]]; then
|
||||
branch="dev"
|
||||
elif [[ $ver == "1.2" ]]; then
|
||||
branch="stable-1.2"
|
||||
elif [[ $ver == "1.1" ]]; then
|
||||
branch="stable-1.1"
|
||||
elif [[ $ver == "1.0" ]]; then
|
||||
@@ -299,7 +303,7 @@ init() {
|
||||
|
||||
action() {
|
||||
local arg=$(strip $1)
|
||||
if [[ $arg == "dev" || $arg == "stable" || $arg == "1.0" || $arg == "1.1" ]]; then
|
||||
if [[ $arg == "dev" || $arg == "stable" || $arg == "1.0" || $arg == "1.1" || $arg == "1.2" ]]; then
|
||||
init $arg
|
||||
else
|
||||
error
|
||||
|
||||
Reference in New Issue
Block a user