From 91575d1db4ae5298d2f9377c73d2acbc1c6395a2 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 16 Apr 2007 14:31:44 +0000 Subject: [PATCH] Small update --- config_files/metis-4.0.sh | 5 +++++ config_files/scotch-4.0.sh | 4 ++++ 2 files changed, 9 insertions(+) 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() { -- 2.39.2