bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_annobin/0-install_annobin.sh

Neal Gompa 9e98c2
#!/bin/bash
Neal Gompa 9e98c2
# Author: Neal Gompa <ngompa@datto.com>
Neal Gompa 9e98c2
Neal Gompa 9e98c2
# Skip if older than CentOS 8
Neal Gompa 9e98c2
if [ "$centos_ver" -lt "8" ]; then
Neal Gompa 9e98c2
  t_Log "annobin does not exist pre-c8 => SKIP"
Neal Gompa 9e98c2
  exit 0
Neal Gompa 9e98c2
fi
Neal Gompa 9e98c2
Neal Gompa 9e98c2
# Install annobin and gcc
Neal Gompa 9e98c2
t_Log "Running $0 - installing annobin and gcc."
Neal Gompa 9e98c2
Neal Gompa 9e98c2
t_InstallPackage annobin redhat-rpm-config gcc gcc-c++