From: vsr Date: Wed, 24 Mar 2004 15:23:14 +0000 (+0000) Subject: Add Component and PyCalculator modules X-Git-Tag: PAL_1_4_1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fba5bdaec99554405481292216b2594f29facee2;p=tools%2Finstall.git Add Component and PyCalculator modules --- diff --git a/config_files/COMPONENT_BIN_1.4.1.sh b/config_files/COMPONENT_BIN_1.4.1.sh new file mode 100755 index 0000000..4e00571 --- /dev/null +++ b/config_files/COMPONENT_BIN_1.4.1.sh @@ -0,0 +1,71 @@ +#!/bin/sh + +check_version(){ +if [ -n "${COMPONENT_ROOT_DIR}" ]; then + check_lib_version VERSION ${COMPONENT_ROOT_DIR}/bin + if [ "$?" -eq "0" ]; then + ver=`cat ${COMPONENT_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` + if [ "$ver" = "1.4.1" ]; then + return 0 + fi + fi +fi +return 1 +} + +print_env(){ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <