diff --git a/lib/apache b/lib/apache index 41c2e3d8dd..a3e9f95d4e 100644 --- a/lib/apache +++ b/lib/apache @@ -100,7 +100,7 @@ function install_apache_uwsgi { uwsgi-plugin-python \ uwsgi-plugin-python3 \ libapache2-mod-proxy-uwsgi - elif [[ $os_VENDOR == "Fedora" ]]; then + elif is_fedora; then # Note httpd comes with mod_proxy_uwsgi and it is loaded by # default; the mod_proxy_uwsgi package actually conflicts now. # See: @@ -114,9 +114,7 @@ function install_apache_uwsgi { uwsgi-python3 \ apache2-mod_uwsgi else - # Centos actually has the module in epel, but there was a big - # push to disable epel by default. As such, compile from source - # there. + # Compile uwsgi from source. local dir dir=$(mktemp -d) pushd $dir