diff --git a/EESSI-remove-software.sh b/EESSI-remove-software.sh index 29a47c0686..2e89a9fceb 100755 --- a/EESSI-remove-software.sh +++ b/EESSI-remove-software.sh @@ -136,7 +136,9 @@ if [ $EUID -ne 0 ]; then # directory only (${app_dir}/easybuild) rm -rdfv ${app_dir} rm -rdfv ${app_module} - ls ${app_dir}/easybuild || true + # ls didn't change the result (permission denied) + # ls ${app_dir}/easybuild || true + mkdir -p ${app_dir}/easybuild ## 1st remove files in depth-first order #for filepath in $(find ${app_dir} -depth -type f); do diff --git a/easystacks/software.eessi.io/2023.06/rebuilds/20241112-eb-4.9.4-EESSI-extend.yml b/easystacks/software.eessi.io/2023.06/rebuilds/20241112-eb-4.9.4-EESSI-extend.yml index e4c658784f..86ec70d6ec 100644 --- a/easystacks/software.eessi.io/2023.06/rebuilds/20241112-eb-4.9.4-EESSI-extend.yml +++ b/easystacks/software.eessi.io/2023.06/rebuilds/20241112-eb-4.9.4-EESSI-extend.yml @@ -3,4 +3,6 @@ # EESSI-extend should adjust EASYBUILD_INSTALLPATH and set # EASYBUILD_CUDA_COMPUTE_CAPABILITIES easyconfigs: - - EESSI-extend-2023.06-easybuild.eb + - EESSI-extend-2023.06-easybuild.eb: + options: + keeppreviousinstall: True diff --git a/load_eessi_extend_module.sh b/load_eessi_extend_module.sh index 9d13f313f3..257570bc50 100755 --- a/load_eessi_extend_module.sh +++ b/load_eessi_extend_module.sh @@ -91,7 +91,7 @@ else eb_install_out=${TMPDIR}/eb_install.out ok_msg="EESSI-extend/${EESSI_EXTEND_VERSION} installed, let's go!" fail_msg="Installing EESSI-extend/${EESSI_EXTEND_VERSION} failed, that's not good... (output: ${eb_install_out})" - ${EB} "EESSI-extend-${EESSI_EXTEND_VERSION}.eb" 2>&1 | tee ${eb_install_out} + ${EB} --keeppreviousinstall True "EESSI-extend-${EESSI_EXTEND_VERSION}.eb" 2>&1 | tee ${eb_install_out} check_exit_code $? "${ok_msg}" "${fail_msg}" )