... | ... |
@@ -49,7 +49,7 @@ function get_python_exec_prefix { |
49 | 49 |
fi |
50 | 50 |
$xtrace |
51 | 51 |
|
52 |
- if python3_enabled && [ "$os_VENDOR" = "Fedora" -a $os_RELEASE -gt 26 ]; then |
|
52 |
+ if python3_enabled && [[ "$os_VENDOR" == "Fedora" && $os_RELEASE -gt 26 ]]; then |
|
53 | 53 |
# Default Python 3 install prefix changed to /usr/local in Fedora 27: |
54 | 54 |
# https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe |
55 | 55 |
echo "/usr/local/bin" |