Skip to content

Commit c2c2b6b

Browse files
author
Federico Ressi
committed
Handle uwsgi install for CentOS/RHEL
Change-Id: Ifa876b3e5f89258f40055fa7ce03f5e9c601771c
1 parent a13ab8d commit c2c2b6b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/apache

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function install_apache_uwsgi {
100100
uwsgi-plugin-python \
101101
uwsgi-plugin-python3 \
102102
libapache2-mod-proxy-uwsgi
103-
elif [[ $os_VENDOR == "Fedora" ]]; then
103+
elif is_fedora; then
104104
# Note httpd comes with mod_proxy_uwsgi and it is loaded by
105105
# default; the mod_proxy_uwsgi package actually conflicts now.
106106
# See:
@@ -114,9 +114,7 @@ function install_apache_uwsgi {
114114
uwsgi-python3 \
115115
apache2-mod_uwsgi
116116
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.
120118
local dir
121119
dir=$(mktemp -d)
122120
pushd $dir

0 commit comments

Comments
 (0)