From: maintenance team Date: Mon, 16 Apr 2007 14:31:44 +0000 (+0000) Subject: Small update X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=91575d1db4ae5298d2f9377c73d2acbc1c6395a2;p=tools%2Finstall.git Small update --- diff --git a/config_files/metis-4.0.sh b/config_files/metis-4.0.sh index 5c9d261..72715d0 100755 --- a/config_files/metis-4.0.sh +++ b/config_files/metis-4.0.sh @@ -27,6 +27,11 @@ EOF make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" } +try_preinstalled(){ +try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} +return $? +} + # looks for the native product and collects it's environment (used by make_env()) install_binary() diff --git a/config_files/scotch-4.0.sh b/config_files/scotch-4.0.sh index 851d8b8..ef402f2 100755 --- a/config_files/scotch-4.0.sh +++ b/config_files/scotch-4.0.sh @@ -28,6 +28,10 @@ make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" } # looks for the native product and collects it's environment (used by make_env()) +try_preinstalled(){ +try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} +return $? +} install_binary() {