mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 23:04:39 -04:00
Update function return
This commit is contained in:
parent
20d9e5a7f7
commit
04f2f35fc5
2 changed files with 4 additions and 4 deletions
|
|
@ -481,10 +481,10 @@ BOOTSTRAP_RPM_PYTHON3_LEGACY_VERSION=1
|
|||
|
||||
EnablePython36SCL() {
|
||||
if "$EXISTS" python3.6 > /dev/null 2> /dev/null; then
|
||||
return
|
||||
return 0
|
||||
fi
|
||||
if ! scl --list 2>/dev/null | grep -q rh-python36; then
|
||||
return
|
||||
return 0
|
||||
fi
|
||||
set +e
|
||||
. scl_source enable rh-python36
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ BOOTSTRAP_RPM_PYTHON3_LEGACY_VERSION=1
|
|||
|
||||
EnablePython36SCL() {
|
||||
if "$EXISTS" python3.6 > /dev/null 2> /dev/null; then
|
||||
return
|
||||
return 0
|
||||
fi
|
||||
if ! scl --list 2>/dev/null | grep -q rh-python36; then
|
||||
return
|
||||
return 0
|
||||
fi
|
||||
set +e
|
||||
. scl_source enable rh-python36
|
||||
|
|
|
|||
Loading…
Reference in a new issue