remove old variables not use & old check not use

This commit is contained in:
Jerome Sagnole 2017-10-09 22:48:37 +02:00
parent 495eebebe9
commit ff3c1c9cae

View file

@ -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