From b96d7ff5a2826857d9cdb688cc894a90dc67cb6a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 25 Jul 2011 22:18:16 +0000 Subject: [PATCH] tweaked python detection --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index f877ee4..2180b04 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.21-test #### Date: July 25 2011 -#### Patch Number: 01 +#### Patch Number: 02 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -2287,7 +2287,7 @@ get_start_client() # from inside itself, as a script, the parent is konversation/xchat, not perl/bash etc # note: perl can report as: perl5.10.0, so it needs wildcard handling case $app_working_name in - bash|dash|sh|python|perl*) # We want to know who wrapped it into the shell or perl. + bash|dash|sh|python*|perl*) # We want to know who wrapped it into the shell or perl. pppid="$( ps -p $PPID -o ppid --no-headers | sed 's/ //g' )" if [[ -n $pppid && -f /proc/$pppid/exe ]];then irc_client_path="$( readlink /proc/$pppid/exe )"