Skip to content

Commit

Permalink
Remove RHEL6 related migration warning
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonSohoel committed Nov 12, 2024
1 parent 299c66d commit 1aa7d8c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions komodo/data/activator_switch.csh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ else if ( `uname -r` =~ *el8* ) then
endif
setenv KOMODO_RELEASE $KOMODO_RELEASE_REAL
{%- endif %}
else if ( `uname -r` =~ *el6* ) then
echo "{{ migration_warning }}"
else
echo "Attention! Your machine is running on an environment that is not supported."
endif
2 changes: 0 additions & 2 deletions komodo/data/activator_switch.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ elif [[ $(uname -r) == *el8* ]] ; then
export PS1="(${KOMODO_RELEASE_REAL}) ${_PRE_KOMODO_PS1}"
export KOMODO_RELEASE=$KOMODO_RELEASE_REAL
{%- endif %}
elif [[ $(uname -r) == *el6* ]]; then
echo -e "{{ migration_warning }}"
else
echo "Attention! Your machine is running on an environment that is not supported."
fi
4 changes: 0 additions & 4 deletions tests/test_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ def test_write_activator_switches(tmpdir):
source $KOMODO_ROOT/$KOMODO_RELEASE_REAL-rhel8/enable
export PS1="(${{KOMODO_RELEASE_REAL}}) ${{_PRE_KOMODO_PS1}}"
export KOMODO_RELEASE=$KOMODO_RELEASE_REAL
elif [[ $(uname -r) == *el6* ]]; then
echo -e "{MIGRATION_WARNING}"
else
echo "Attention! Your machine is running on an environment that is not supported."
fi
Expand Down Expand Up @@ -73,8 +71,6 @@ def test_write_activator_switches(tmpdir):
set prompt = "[$KOMODO_RELEASE_REAL] $_KOMODO_OLD_PROMPT"
endif
setenv KOMODO_RELEASE $KOMODO_RELEASE_REAL
else if ( `uname -r` =~ *el6* ) then
echo "{MIGRATION_WARNING}"
else
echo "Attention! Your machine is running on an environment that is not supported."
endif
Expand Down

0 comments on commit 1aa7d8c

Please sign in to comment.