branch one test, supybot etc

This commit is contained in:
inxi-svn 2014-03-25 19:51:07 +00:00
parent 4d481f2f8a
commit d12c42e3cf

25
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi #### Script Name: inxi
#### Version: 2.1.9 #### Version: 2.1.9
#### Date: 2014-03-24 #### Date: 2014-03-24
#### Patch Number: 01-b1 #### Patch Number: 02-b1
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
######################################################################## ########################################################################
@ -3222,24 +3222,25 @@ set_perl_python_client_data()
IRC_CLIENT='Konversation' IRC_CLIENT='Konversation'
version=$( get_de_app_version 'konversation' '^konversation' '2' ) version=$( get_de_app_version 'konversation' '^konversation' '2' )
B_CONSOLE_IRC='false' B_CONSOLE_IRC='false'
elif [[ $B_RUNNING_IN_DISPLAY == 'false' && \ elif [[ $B_RUNNING_IN_DISPLAY == 'false' && -z ${Ps_aux_Data/*supybot*/} ]];then
-n $( grep -Ei 'gribble|limnoria|supybot' <<< "$Ps_aux_Data" ) ]];then version=$( get_de_app_version 'supybot' '^Supybot' '2' )
if [[ -z ${Ps_aux_Data/*gribble*/} ]];then if [[ -n $version ]];then
IRC_CLIENT='Gribble' IRC_CLIENT_VERSION=" $version"
elif [[ -z ${Ps_aux_Data/*limnoria*/} ]];then if [[ -z ${version/*gribble*/} ]];then
IRC_CLIENT='Limnoria' IRC_CLIENT='Gribble'
elif [[ -z ${Ps_aux_Data/*supybot*/} ]];then elif [[ -z ${version/*limnoria*/} ]];then
IRC_CLIENT='Limnoria'
else
IRC_CLIENT='Supybot'
fi
else
IRC_CLIENT='Supybot' IRC_CLIENT='Supybot'
fi
# currently all use the same actual app name, this will probably change. # currently all use the same actual app name, this will probably change.
if [[ -n $IRC_CLIENT ]];then
version=$( get_de_app_version 'supybot' '^Supybot' '2' )
fi fi
B_CONSOLE_IRC='true' B_CONSOLE_IRC='true'
else else
IRC_CLIENT="Unknown $1 client" IRC_CLIENT="Unknown $1 client"
fi fi
if [[ -n $version ]];then if [[ -n $version ]];then
IRC_CLIENT_VERSION=" $version" IRC_CLIENT_VERSION=" $version"
fi fi