Disable upgrade for RHEL-like systems

This commit is contained in:
Adrien Ferrand 2021-02-09 16:04:10 +01:00
parent edad9bd82b
commit 8f0db13785
2 changed files with 2 additions and 0 deletions

View file

@ -806,6 +806,7 @@ elif [ -f /etc/mageia-release ]; then
NO_SELF_UPGRADE=1
elif [ -f /etc/redhat-release ]; then
DEPRECATED_OS=1
NO_SELF_UPGRADE=1
# Run DeterminePythonVersion to decide on the basis of available Python versions
# whether to use 2.x or 3.x on RedHat-like systems.
# Then, revert LE_PYTHON to its previous state.

View file

@ -328,6 +328,7 @@ elif [ -f /etc/mageia-release ]; then
NO_SELF_UPGRADE=1
elif [ -f /etc/redhat-release ]; then
DEPRECATED_OS=1
NO_SELF_UPGRADE=1
# Run DeterminePythonVersion to decide on the basis of available Python versions
# whether to use 2.x or 3.x on RedHat-like systems.
# Then, revert LE_PYTHON to its previous state.