mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
trying another python fix
This commit is contained in:
parent
b96d7ff5a2
commit
2a33a1380e
17
inxi
17
inxi
|
@ -3,7 +3,7 @@
|
|||
#### Script Name: inxi
|
||||
#### version: 1.7.21-test
|
||||
#### Date: July 25 2011
|
||||
#### Patch Number: 02
|
||||
#### Patch Number: 03
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -2511,7 +2511,20 @@ get_start_client()
|
|||
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
|
||||
B_CONSOLE_IRC='false'
|
||||
else
|
||||
IRC_CLIENT="Unknown Perl client"
|
||||
IRC_CLIENT="Unknown $app_working_name client"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
python*)
|
||||
# B_CONSOLE_IRC='true'
|
||||
if [[ -z $IRC_CLIENT_VERSION ]];then
|
||||
# this is a hack to try to show konversation if inxi is running but started via /cmd
|
||||
if [[ -n $( ps aux | grep -i 'konversation' | grep -v 'grep' ) && $B_RUNNING_IN_X == 'true' ]];then
|
||||
IRC_CLIENT='Konversation'
|
||||
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
|
||||
B_CONSOLE_IRC='false'
|
||||
else
|
||||
IRC_CLIENT="Unknown $app_working_name client"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue