From b720d455f60c9adf6774c66c3313703c6dac9867 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 29 Oct 2007 16:33:38 +0000 Subject: [PATCH] Update for Salome 4X --- config_files/Numeric-22.0.sh | 105 ------------------ .../{Numeric-23.7.sh => Numeric-24.2.sh} | 4 +- 2 files changed, 2 insertions(+), 107 deletions(-) delete mode 100755 config_files/Numeric-22.0.sh rename config_files/{Numeric-23.7.sh => Numeric-24.2.sh} (98%) diff --git a/config_files/Numeric-22.0.sh b/config_files/Numeric-22.0.sh deleted file mode 100755 index 64f1cec..0000000 --- a/config_files/Numeric-22.0.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : Numeric-22.0.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 -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -check_version(){ -ver=`python -c 'import Numeric; print Numeric.__version__' 2>/dev/null` -if [ "$ver" == "22.0" ]; then - return 0 -fi -return 1 -} - -print_env_bin(){ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh < ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR}; - -# remove sources and temporary files after building -if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then - test -d ${PRODUCT_DIR}_SRC && rm -fr ${PRODUCT_DIR}_SRC -fi - -# to generate environment scripts -try_preinstalled -} - -install_binary() -{ -check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INSTALL_ROOT} - -# to generate environment scripts -try_preinstalled -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -export PRODUCT_TYPE=$6; -export INSTALL_PRODUCTS=$7; -shift -REMOVE_SRC_TMP=$8; -export PRODUCT="Numeric-22.0" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE diff --git a/config_files/Numeric-23.7.sh b/config_files/Numeric-24.2.sh similarity index 98% rename from config_files/Numeric-23.7.sh rename to config_files/Numeric-24.2.sh index 22b5cbe..d7fe490 100755 --- a/config_files/Numeric-23.7.sh +++ b/config_files/Numeric-24.2.sh @@ -1,7 +1,7 @@ #!/bin/bash -noprofile #################################################################################### -# File : Numeric-23.7.sh +# File : Numeric-24.2.sh # Created : Thu Dec 18 12:01:00 2002 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) # Project : SALOME @@ -156,7 +156,7 @@ export PRODUCT_TYPE=$6; export INSTALL_PRODUCTS=$7; shift REMOVE_SRC_TMP=$8; -export PRODUCT="Numeric-23.7" +export PRODUCT="Numeric-24.2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh -- 2.39.2