bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

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
Athmane Madjoudj 6c1e07
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 6c1e07
then
Athmane Madjoudj 6c1e07
    t_InstallPackage mod_wsgi
Athmane Madjoudj 6c1e07
    service httpd restart
Athmane Madjoudj 6c1e07
else 
Athmane Madjoudj 6c1e07
    echo "Skipped on CentOS 5"
Athmane Madjoudj 6c1e07
fi
Athmane Madjoudj 6c1e07
Athmane Madjoudj 6c1e07