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"
0306cb
if [ "$centos_ver" -gt "5" ] ;then
0306cb
  t_Log "It seems to be a CentOS $centos_ver system, this test will be disabled -> SKIP"
0306cb
  exit 0
Athmane Madjoudj 0a3c81
else
Athmane Madjoudj 0a3c81
   t_InstallPackage squirrelmail 
Athmane Madjoudj 0a3c81
   t_ServiceControl httpd restart
Athmane Madjoudj 0a3c81
fi