From ff3c1c9caecc6d4b6b29a98345fad5d792e6d94f Mon Sep 17 00:00:00 2001 From: Jerome Sagnole Date: Mon, 9 Oct 2017 22:48:37 +0200 Subject: [PATCH] remove old variables not use & old check not use --- .../debian/jessie/x86_64/server-container.sh | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/dist/docker/server/debian/jessie/x86_64/server-container.sh b/dist/docker/server/debian/jessie/x86_64/server-container.sh index 19cd80368..cb7b1903e 100755 --- a/dist/docker/server/debian/jessie/x86_64/server-container.sh +++ b/dist/docker/server/debian/jessie/x86_64/server-container.sh @@ -24,9 +24,6 @@ declare -i IMAGE=1 declare -i BASICSERVER=0 declare -i KHANATSERVER=0 declare -i CONFIGUREKHANATSERVER=0 -declare -i KHANATRESSOURCES=0 -declare -i KHANATDATACLIENT=0 -declare -i RYZOMRESSOURCES=0 declare -i LAUNCHKHANAT=1 declare -i UPDATEDATA=0 declare -i DEBUG=0 @@ -44,8 +41,6 @@ declare IMAGEGENERICSERVER="server_generic_debian_jessie_x86_64" declare IMAGEKHANATSERVER="servercontainer_khanat_debian_jessie_x86_64" declare LOCALBUILDDIR="build/builder_khanat_debian_jessie_x86_64" declare DIROUTPUT="output/khanat_debian_jessie_x86_64" -declare PACKAGEBIN="$DIROUTPUT/package/ryzomcore_jessie_x86_64.tar.gz" -declare PACKAGEREF="$DIROUTPUT/package/khanat-ref-ressources.tar.gz" declare ROOTDATAKHANAT="$DIROUTPUT/gameserver" declare DIRLOG="$ROOTDATAKHANAT/log" declare DIRDATABASE="$ROOTDATAKHANAT/database" @@ -339,29 +334,12 @@ msg_debug "basedir: $basedir" msg_debug "rootdir: $rootdir" msg_debug "ressourcedir: $ressourcedir" msg_debug "generate basic image: $BASICSERVER" -msg_debug "generate tar khanat ressources: $KHANATRESSOURCES" -msg_debug "generate tar khanat data client: $KHANATDATACLIENT" -msg_debug "generate tar ryzom ressources: $RYZOMRESSOURCES" msg_debug "localization khanat-ressources : ${KHANAT_RESSOURCES_DIR}" msg_debug "localization khanat-data-client : ${KHANAT_DATA_CLIENT_DIR}" msg_debug "generate khanat image: $KHANATSERVER" msg_debug "launch khanat: $LAUNCHKHANAT" msg_debug "stop khanat: $STOPKHANAT" -msg_info "check package ($(basename ${PACKAGEBIN}))" -if [[ ! -f ${rootdir}/${PACKAGEBIN} ]] -then - msg_error "Missing package ($(basename ${PACKAGEBIN}))" - exit 2 -fi - -msg_info "check package (khanat-ref-ressources.tar.gz)" -if [[ ! -f ${rootdir}/${PACKAGEREF} ]] -then - msg_error "Missing package ($(basename ${PACKAGEREF}))" - exit 2 -fi - msg_info "check khanat-ressources" if [[ ! -d ${KHANAT_RESSOURCES_DIR} ]] then