From f4307a65d0d89b02b7ff45da28790d676efe7a21 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste VESLIN <19856429+thebaptiste@users.noreply.github.com> Date: Tue, 5 Nov 2024 00:26:33 +0100 Subject: [PATCH] build: salem comment for mfext profile only (#1968) --- adm/templates/profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adm/templates/profile b/adm/templates/profile index 478f9702..4cdd35d4 100644 --- a/adm/templates/profile +++ b/adm/templates/profile @@ -202,9 +202,11 @@ fi export LOGPROXY_LOG_DIRECTORY="${MFMODULE_RUNTIME_HOME}/log" {% endif %} +{% if MFMODULE == "MFEXT" %} # For salem users not allowed to get salem-sample-data file from internet, you can execute (once only) the following two commented lines # mkdir -p "${HOME}/.salem_cache" # ln -s "${MFEXT_HOME}/opt/python3_scientific/share/salem/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip" "${HOME}/.salem_cache/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip" +{% endif %} # A little kind of magic to deal with [log]/json_file=AUTO if test "{% raw %}${{% endraw %}{{MFMODULE}}_LOG_JSON_FILE{% raw %}:-}{% endraw %}" = "AUTO"; then