Trying to fix a bug with xchat-gnome detection for client

This commit is contained in:
inxi-svn 2008-10-30 04:24:50 +00:00
parent 722014366a
commit 4a4ee6a650

6
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 0.1.40 #### version: 0.1.41
#### Date: October 29 2008 #### Date: October 29 2008
######################################################################## ########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif #### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -544,6 +544,10 @@ get_start_source()
fi fi
IRC_CLIENT="Konversation" IRC_CLIENT="Konversation"
;; ;;
*xchat-gnome)
RC_CLIENT_VERSION=" $( $irc_client_path -v | gawk 'NR == 1 { print $2 }' )"
IRC_CLIENT="X-Chat-Gnome"
;;
*xchat*) *xchat*)
IRC_CLIENT_VERSION=" $( $irc_client_path -v | gawk 'NR == 1 { print $2 }' )" IRC_CLIENT_VERSION=" $( $irc_client_path -v | gawk 'NR == 1 { print $2 }' )"
IRC_CLIENT="X-Chat" IRC_CLIENT="X-Chat"