1 2 3 4 5 6 7 8
#!/bin/sh # Requires on perl-base perlEV=`rpm -q --qf '%{EPOCH}:%{VERSION}\n' perl-base` if [ $? = 0 ]; then echo "perl-base >= $perlEV" fi