bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_amanda/0-install_amanda.sh

Christoph Galuschka 0a7f0f
#!/bin/bash
Christoph Galuschka 0a7f0f
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka b0ca44
# Christoph Galuschka <tigalch@tigalch.org>
Christoph Galuschka 0a7f0f
Christoph Galuschka 0a7f0f
t_Log "$0 - installing amanda system"
Christoph Galuschka b0ca44
Christoph Galuschka b0ca44
if (t_GetPkgRel basesystem | grep -q el5)
Christoph Galuschka b0ca44
then
Christoph Galuschka b0ca44
  t_Log "This is a C5 system. Skipping."
Christoph Galuschka b0ca44
  t_CheckExitStatus 0
Christoph Galuschka b0ca44
  exit $PASS
Christoph Galuschka b0ca44
fi
Christoph Galuschka b0ca44
Christoph Galuschka 0a7f0f
t_InstallPackage amanda amanda-server amanda-client