Change-Id: Ifa876b3e5f89258f40055fa7ce03f5e9c601771c
Federico Ressi authored on 2020/06/15 19:48:38... | ... |
@@ -100,7 +100,7 @@ function install_apache_uwsgi { |
100 | 100 |
uwsgi-plugin-python \ |
101 | 101 |
uwsgi-plugin-python3 \ |
102 | 102 |
libapache2-mod-proxy-uwsgi |
103 |
- elif [[ $os_VENDOR == "Fedora" ]]; then |
|
103 |
+ elif is_fedora; then |
|
104 | 104 |
# Note httpd comes with mod_proxy_uwsgi and it is loaded by |
105 | 105 |
# default; the mod_proxy_uwsgi package actually conflicts now. |
106 | 106 |
# See: |
... | ... |
@@ -114,9 +114,7 @@ function install_apache_uwsgi { |
114 | 114 |
uwsgi-python3 \ |
115 | 115 |
apache2-mod_uwsgi |
116 | 116 |
else |
117 |
- # Centos actually has the module in epel, but there was a big |
|
118 |
- # push to disable epel by default. As such, compile from source |
|
119 |
- # there. |
|
117 |
+ # Compile uwsgi from source. |
|
120 | 118 |
local dir |
121 | 119 |
dir=$(mktemp -d) |
122 | 120 |
pushd $dir |