From b0ca448918eb615371d9fe4ada4f446b8bc575b8 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Feb 09 2014 12:12:01 +0000 Subject: only install amanda only of system is not C5 --- diff --git a/tests/p_amanda/0-install_amanda.sh b/tests/p_amanda/0-install_amanda.sh index 409ade2..ccb0fb6 100755 --- a/tests/p_amanda/0-install_amanda.sh +++ b/tests/p_amanda/0-install_amanda.sh @@ -1,6 +1,14 @@ #!/bin/bash # Author: Athmane Madjoudj -# Christoph Galuschka +# Christoph Galuschka t_Log "$0 - installing amanda system" + +if (t_GetPkgRel basesystem | grep -q el5) +then + t_Log "This is a C5 system. Skipping." + t_CheckExitStatus 0 + exit $PASS +fi + t_InstallPackage amanda amanda-server amanda-client