X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2FVISU.sh;h=081b111e26c76c8015463a21ec976d8bf4262653;hb=fb0a34757ac0773bebbfd5969f3179a9efdc2be4;hp=7d986e5b32427b1fd4afd6eb04edd41d6f00fbde;hpb=8087605ba0e7594719529f01fd18887362c3b3db;p=tools%2Finstall.git diff --git a/config_files/VISU.sh b/config_files/VISU.sh index 7d986e5..081b111 100755 --- a/config_files/VISU.sh +++ b/config_files/VISU.sh @@ -1,30 +1,28 @@ #!/bin/bash -noprofile #################################################################################### -# File : VISU_BIN.sh +# File : VISU.sh # Created : Thu Dec 18 12:01:00 2002 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME # Module : Installation Wizard -# Copyright : 2002-2007 CEA +# Copyright : 2002-2008 CEA # # This script is the part of the SALOME installation procedure. # #################################################################################### -VERSION="4.1.1" - check_version(){ if [ -n "${VISU_ROOT_DIR}" ]; then check_lib_version VERSION ${VISU_ROOT_DIR}/bin/salome if [ "$?" -eq "0" ]; then ver=`cat ${VISU_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then + if [ "$ver" = "${SALOME_VERSION}" ]; then return 0 fi fi elif [ -n "${VISU_SRC_DIR}" ]; then - check_salome_src_version VISU_SRC_DIR $VERSION + check_salome_src_version VISU_SRC_DIR if [ $? -eq 0 ] ; then return 0 ; fi return 1 fi @@ -32,50 +30,45 @@ return 1 } print_env_bin(){ -if test `uname -m` = "x86_64" ; then -export LIB_PREFIX=64 -else -export LIB_PREFIX="" -fi cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <