bug fix, long time bug, in konvi 4 detections

This commit is contained in:
inxi-svn 2011-05-22 02:56:01 +00:00
parent 0102533ad3
commit d33ba80b7e

3
inxi
View file

@ -2066,7 +2066,8 @@ is_this_qt4_konvi()
if [[ ${konvi[2]} == 'konversation' ]];then if [[ ${konvi[2]} == 'konversation' ]];then
konvi_qt4_ver=$( konversation -v | grep -i 'konversation' ) konvi_qt4_ver=$( konversation -v | grep -i 'konversation' )
konvi_qt4_client=$( echo "$konvi_qt4_ver" | gawk '{ print $2 }' ) # note: we need to change this back to a single dot number, like 1.3, not 1.3.2
konvi_qt4_client=$( echo "$konvi_qt4_ver" | gawk '{ print $2 }' | cut -d '.' -f 1,2 )
if [[ $konvi_qt4_client > 1.1 ]]; then if [[ $konvi_qt4_client > 1.1 ]]; then
b_is_qt4='true' b_is_qt4='true'