Skip to content

Commit

Permalink
Merge pull request #1967 from metwork-framework/mergify/bp/release_2.…
Browse files Browse the repository at this point in the history
…2/pr-1966

build: remove automatic creation of salem-sample-date file (backport #1966)
  • Loading branch information
thebaptiste authored Nov 4, 2024
2 parents ecd678d + c91f4b2 commit 39cd18e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions adm/templates/profile
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,9 @@ fi
export LOGPROXY_LOG_DIRECTORY="${MFMODULE_RUNTIME_HOME}/log"
{% endif %}

# Create salem data file in .salem_cache
if test -f "${MFEXT_HOME}/opt/python3_scientific/share/salem/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip"; then
if test ! -d "${HOME}/.salem_cache"; then
mkdir -p "${HOME}/.salem_cache"
else
rm -f "${HOME}/.salem_cache/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip"
fi
ln -s "${MFEXT_HOME}/opt/python3_scientific/share/salem/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip" "${HOME}/.salem_cache/salem-sample-data-57e6d694aa470b967336f5ca2d4fc743c5c8efd6.zip"
fi
# 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"

# A little kind of magic to deal with [log]/json_file=AUTO
if test "{% raw %}${{% endraw %}{{MFMODULE}}_LOG_JSON_FILE{% raw %}:-}{% endraw %}" = "AUTO"; then
Expand Down

0 comments on commit 39cd18e

Please sign in to comment.