mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small bug fix for output of konvi perl/python handler
This commit is contained in:
parent
cf75791ea4
commit
48ae838480
8
inxi
8
inxi
|
@ -2504,11 +2504,11 @@ get_start_client()
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
B_CONSOLE_IRC='true'
|
B_CONSOLE_IRC='true'
|
||||||
set_perl_python_konvi
|
set_perl_python_konvi "$app_working_name"
|
||||||
;;
|
;;
|
||||||
python*)
|
python*)
|
||||||
# B_CONSOLE_IRC='true' # are there even any python type console irc clients? check.
|
# 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
|
# 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"
|
log_function_data "IRC_CLIENT: $IRC_CLIENT :: IRC_CLIENT_VERSION: $IRC_CLIENT_VERSION :: PPID: $PPID"
|
||||||
eval $LOGFE
|
eval $LOGFE
|
||||||
}
|
}
|
||||||
|
# args: $1 - app_working_name
|
||||||
set_perl_python_konvi()
|
set_perl_python_konvi()
|
||||||
{
|
{
|
||||||
if [[ -z $IRC_CLIENT_VERSION ]];then
|
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}' )"
|
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
|
||||||
B_CONSOLE_IRC='false'
|
B_CONSOLE_IRC='false'
|
||||||
else
|
else
|
||||||
IRC_CLIENT="Unknown $app_working_name client"
|
IRC_CLIENT="Unknown $1 client"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue