Blame tests/p_mailman/0-install_mailman.sh

Athmane Madjoudj 3baa2c
#!/bin/bash
Athmane Madjoudj 3baa2c
# Author: Athmane Madjoudj <athmanem@gmail.com>
40b4c8
40b4c8
if [ "$CONTAINERTEST" -eq "1" ]; then
40b4c8
    t_Log "Running in container -> SKIP"
40b4c8
    exit 0
40b4c8
fi
40b4c8
f49232
if (t_GetPkgRel basesystem | grep -q el9)
f49232
then
f49232
  t_Log "This is a C9 system. mailman not present. Skipping."
f49232
  t_CheckExitStatus 0
f49232
  exit $PASS
f49232
fi
Athmane Madjoudj 3baa2c
Athmane Madjoudj 3baa2c
t_Log "$0 - Installing mailman"
Athmane Madjoudj 3baa2c
t_InstallPackage  mailman
Athmane Madjoudj 3baa2c