Blame tests/p_mod_wsgi/0-install_mod_wsgi.sh

Athmane Madjoudj 6c1e07
#!/bin/bash
Athmane Madjoudj 6c1e07
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 6c1e07
d7a223
t_Log "Running $0 - installing mod_wsgi"
Athmane Madjoudj 6c1e07
d7a223
if [[ $centos_ver -lt 6 ]]; then
d7a223
    t_Log "mod_wsgi doesn't exist before CentOS 6 -> SKIP"
d7a223
    exit 0
d7a223
fi
Athmane Madjoudj 6c1e07
d7a223
if [[ $centos_ver -ge 8 ]]; then
d7a223
    t_InstallPackage python3-mod_wsgi
d7a223
else
d7a223
    t_InstallPackage mod_wsgi
d7a223
fi