From: inv Date: Fri, 13 May 2011 07:42:53 +0000 (+0000) Subject: Adding new modules X-Git-Tag: V6_3_0~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c914cb58ed1a701f3fecc08f4cd821f22c5f4c00;p=tools%2Finstall.git Adding new modules --- diff --git a/config_files/HOMARD.sh b/config_files/HOMARD.sh new file mode 100755 index 0000000..1719b65 --- /dev/null +++ b/config_files/HOMARD.sh @@ -0,0 +1,153 @@ +#!/bin/bash -noprofile + +#################################################################################### +# File : HOMARD.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-2008 CEA +# +# This script is the part of the SALOME installation procedure. +# +#################################################################################### + +check_version(){ +if [ -n "${HOMARD_ROOT_DIR}" ]; then + check_lib_version VERSION ${HOMARD_ROOT_DIR}/bin/salome + if [ "$?" -eq "0" ]; then + ver=`cat ${HOMARD_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` + if [ "$ver" = "${SALOME_VERSION}" ]; then + return 0 + fi + fi +elif [ -n "${HOMARD_SRC_DIR}" ]; then + check_salome_src_version HOMARD_SRC_DIR + if [ $? -eq 0 ] ; then return 0 ; fi + return 1 +fi +return 1 +} + +print_env_bin(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <