trying a konvi fix

This commit is contained in:
inxi-svn 2011-05-22 00:15:55 +00:00
parent a2c29cb67c
commit 4751d077f2

8
inxi
View file

@ -1997,7 +1997,13 @@ get_start_client()
done done
B_CONSOLE_IRC='true' B_CONSOLE_IRC='true'
if [[ -z $IRC_CLIENT_VERSION ]];then if [[ -z $IRC_CLIENT_VERSION ]];then
IRC_CLIENT="Unknown Perl client" # this is a hack to try to show konversation if it is running
if [[ -z $( ps aux | grep -i 'konversation' ) ]];then
IRC_CLIENT="Unknown Perl client"
else
IRC_CLIENT='Konversation'
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
fi
fi fi
;; ;;
# then unset, set unknown data # then unset, set unknown data