An update will now be performed to your client(the /user directory to be exact). Please help us test the deployment of our free MMORPG server!! EOF # TODO - Strange, we need update patch - to be check cat << EOF > $PATCH_CLIENT_SYSTEM/patch_game/patch/Lirria.version $REALVERSION $REALVERSION EOF #################################### # Prepare client package #################################### if [[ ! -f $HOME_CLIENT/${PACKAGECLIENT}.tar.gz ]] then msg_info "[$(basename $0):$LINENO] Prepare client package" cp /usr/local/bin/khanat_client $HOME_PREPARE_CLIENT/. || exit 2 cp /home/gameserver/ext/ryzom-ressources/client/client_default.cfg $HOME_PREPARE_CLIENT/. || exit 2 sed -i -r 's/PatchWanted = 0;/PatchWanted = 1;/g' $HOME_PREPARE_CLIENT/client_default.cfg || exit 2 cp $PATCH_CLIENT_SYSTEM/patch_game/bnp/kh_translate_{wk,fr,en}.bnp $HOME_PREPARE_CLIENT/data/. || exit 2 cp $KHANAT_HOME/ext/khanat-client-data/client/exedll_linux64/khanat.png $HOME_PREPARE_CLIENT/data/. || exit 2 # cp $PATCH_CLIENT_SYSTEM/dataserver/data/fonts.bnp $HOME_PREPARE_CLIENT/data/. || exit 2 cp $PATCH_CLIENT_SYSTEM/patch_game/bnp/kh_interfaces.bnp $HOME_PREPARE_CLIENT/data/. || exit 2 cp $PATCH_CLIENT_SYSTEM/patch_game/bnp/ryz_zzz_bazaar.bnp $HOME_PREPARE_CLIENT/data/. || exit 2 cp $KHANAT_HOME/ext/ryzom-ressources/client/cfg/* $HOME_PREPARE_CLIENT/cfg/. || exit 2 # TODO - we need search where are define some files # .DS_Store : function ? # khanat_install_desktop_menu.sh : script to install khanat on desktop # khanat.desktop.in : config desktop for khanat # khanat_install_desktop_menu.sh : script to uninstall khanat on desktop fi #################################### # Generate client package #################################### # Generate package msg_info "[$(basename $0):$LINENO] Generate client package" if [[ ! -f $HOME_CLIENT/$PACKAGECLIENT.tar.gz ]] then msg_info "[$(basename $0):$LINENO] Generate package" (cd $HOME_PREPARE_CLIENT/..; tar cfz $HOME_CLIENT/$PACKAGECLIENT.tar.gz $DIRCLIENT) fi #################################### # Create web page to present this package #################################### msg_info "[$(basename $0):$LINENO] create index.html for client" cat << EOF > $HOME_CLIENT/index.html