| #!/bin/sh |
| |
| |
| |
| |
| |
| |
| t_Log "Running $0 - Check version of rdoc." |
| |
| |
| if [ "$centos_ver" = "8" ] ; then |
| rdoc -v | grep -q '6.0' |
| ret_val=$? |
| elif [ "$centos_ver" = "7" ] ; then |
| t_Log "CentOS $centos_ver rdoc has no version in cli -> SKIP" |
| t_CheckExitStatus 0 |
| exit 0 |
| else |
| rdoc -v | grep -q '1.0.1' |
| ret_val=$? |
| fi |
| |
| t_CheckExitStatus $ret_val |
| |