From f2e70b182ea58f3bb9693018d60eea724b791276 Mon Sep 17 00:00:00 2001 From: Jerome Sagnole Date: Sat, 2 Sep 2017 00:11:01 +0200 Subject: [PATCH] remove message echo on bashrc - we have an issu when we use scp command --- dist/docker/server/debian/common/init-khanat.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dist/docker/server/debian/common/init-khanat.sh b/dist/docker/server/debian/common/init-khanat.sh index a6c7a261f..36fcf3563 100755 --- a/dist/docker/server/debian/common/init-khanat.sh +++ b/dist/docker/server/debian/common/init-khanat.sh @@ -15,7 +15,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux export RYDATA=/home/compil/khanat-ressources export PATCH_HOME=/home/gameserver export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service -echo "Environment loaded" EOF # configure environment @@ -26,7 +25,6 @@ export PATH=\$PATH:/usr/local/bin:\$RYZOM_PATH/tools/scripts/linux export RYDATA=/home/compil/khanat-ressources export PATCH_HOME=/home/gameserver export PATCH_CLIENT_SYSTEM=\$PATCH_HOME/patch_service -echo "Environment loaded" EOF # load environment @@ -340,7 +338,6 @@ echo "PATCH_HOME:$PATCH_HOME" echo "PATCH_CLIENT_SYSTEM:$PATCH_CLIENT_SYSTEM" mkdir -p $PATCH_HOME/patch_service/dataserver || exit 2 -# TODO : Pourquoi récupère ton des données de khanat-ressources pour les langues ? # Search le nombre de langue listlang=$(ls $RYDATA/translation/translated | cut -f 1 -d '.' | sed 's/^.*\(.\{2\}\)$/\1/' | sort | uniq) echo "LIST LANG : $listlang" @@ -365,7 +362,7 @@ cp $RYDATA/leveldesign/game_elem/sheet_id.bin $PATCH_CLIENT_SYSTEM/kh_server/ || cd $PATCH_HOME/patch_service/dataserver; tar xzf /opt/khanat-data-client.tar.gz || exit 2 -# TODO : Pourquoi récupère ton des données de khanat-ressources pour les langues ? +# language : copy to client (to generate client patch) for lang in $listlang do cp $RYDATA/translation/translated/*$lang.* $PATCH_CLIENT_SYSTEM/dataserver/kh_translate_$lang/ || exit 2