You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
396 B
17 lines
396 B
12 months ago
|
#!/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
|