Blob Blame History Raw
#!/bin/sh
# Author: Brian Stinson <brian@bstinson.com>
# Runner script for checking rpminfo so we can fail gracefully on EL5

if [ "$centos_ver" -ge "8" ]; then
  t_Log "check-rpminfo.py not python3/dnf ready on c8 => SKIP"
  exit 0
fi

if [[ $centos_ver != 5 ]] 
then
    python "$(dirname "$(readlink -f "$0")")/check-rpminfo.py"
    t_CheckExitStatus $?
else
    echo "Skipped on CentOS 5"
fi