#!/bin/sh # Author: Nikhil Lanjewar # Author: Sahil Muthoo # Author: Sahil Aggarwal # Author: Saager Mhatre # Christoph Galuschka t_Log "Running $0 - Check version of irb." #allready prepared just in case versions should change between C5 and C6 if [ "$centos_ver" -ge "9" ] ; then irb -v | grep -q 'irb' ret_val=$? elif [ "$centos_ver" = "7" -o "$centos_ver" = "8" ] ; then irb -v | grep -q '0.9.6' ret_val=$? else irb -v | grep -q '0.9.5' ret_val=$? fi t_CheckExitStatus $ret_val