small bug fix for output of konvi perl/python handler

This commit is contained in:
inxi-svn 2011-07-25 22:56:21 +00:00
parent cf75791ea4
commit 48ae838480

8
inxi
View file

@ -2504,11 +2504,11 @@ get_start_client()
esac
done
B_CONSOLE_IRC='true'
set_perl_python_konvi
set_perl_python_konvi "$app_working_name"
;;
python*)
# B_CONSOLE_IRC='true' # are there even any python type console irc clients? check.
set_perl_python_konvi
set_perl_python_konvi "$app_working_name"
;;
# then unset, set unknown data
*)
@ -2550,7 +2550,7 @@ get_start_client()
log_function_data "IRC_CLIENT: $IRC_CLIENT :: IRC_CLIENT_VERSION: $IRC_CLIENT_VERSION :: PPID: $PPID"
eval $LOGFE
}
# args: $1 - app_working_name
set_perl_python_konvi()
{
if [[ -z $IRC_CLIENT_VERSION ]];then
@ -2560,7 +2560,7 @@ set_perl_python_konvi()
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
B_CONSOLE_IRC='false'
else
IRC_CLIENT="Unknown $app_working_name client"
IRC_CLIENT="Unknown $1 client"
fi
fi
}