From: admin Date: Fri, 19 Sep 2003 05:55:15 +0000 (+0000) Subject: Initial version X-Git-Tag: v_1_2c~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09241fd06d896f85520be2ca01f498ef1c8340b8;p=tools%2Finstall.git Initial version --- diff --git a/config_files/VTK-4.2.2.sh b/config_files/VTK-4.2.2.sh new file mode 100755 index 0000000..d2552fc --- /dev/null +++ b/config_files/VTK-4.2.2.sh @@ -0,0 +1,139 @@ +#!/bin/sh + +check_version() +{ +if [ -z "$VTKHOME" ]; then + #echo "VTKHOME doesn't set" + return 1 +fi +check_lib_version libvtkCommon.so ${VTKHOME}/lib/vtk +if [ "$?" -eq "0" ]; then + #echo "The product ${PRODUCT} has been already installed on yours system" + return 0 +fi +return 1 +} + +print_env() +{ +cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <> ${PRODUCT_DIR}/MAKEcmake.LOG < ${PRODUCT_DIR}/CONFIGURE.LOG < ${PRODUCT_DIR}/MAKE.LOG <