bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_squirrelmail/0-install_squirrelmail.sh

Steve Barnes 724d58
#!/bin/bash
Steve Barnes 724d58
# Author: Athmane Madjoudj <athmanem@gmail.com>
Steve Barnes 724d58
Steve Barnes 724d58
# NOTE: squirrelmail rpm has require: httpd php php-mbstring
Athmane Madjoudj 0a3c81
# Squirellmail has been removed from el6
Athmane Madjoudj 0a3c81
Christoph Galuschka 0bb594
t_Log "Running $0 - install squirrelmail"
Athmane Madjoudj 0a3c81
if (t_GetPkgRel basesystem | grep -q el6)
Athmane Madjoudj 0a3c81
then
Athmane Madjoudj 0a3c81
   t_Log It seems to be a CentOS 6.x system, this test will be disabled
Athmane Madjoudj 0a3c81
   exit 0
Athmane Madjoudj 0a3c81
else
Athmane Madjoudj 0a3c81
   t_InstallPackage squirrelmail 
Athmane Madjoudj 0a3c81
   t_ServiceControl httpd restart
Athmane Madjoudj 0a3c81
fi