From fe958e912bb932f21d983d3ecbc4096d82c90ef4 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 26 Apr 2012 20:17:25 +0000 Subject: [PATCH] trying a fix for konvi version for sabayon, they changed paths --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index d5a94d1..298721d 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.34 #### Date: April 26 2012 -#### Patch Number: 01 +#### Patch Number: 02 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -2585,8 +2585,8 @@ is_this_qt4_konvi() if [[ $B_QDBUS == 'true' ]];then konvi_dbus_exist=$( qdbus 2>/dev/null | grep "org.kde.konversation" ) fi - - if [[ -n $konvi_dbus_exist && -e /usr/share/kde4/apps/konversation ]]; then + # sabayon uses /usr/share/apps/konversation as path + if [[ -n $konvi_dbus_exist ]] && [[ -e /usr/share/kde4/apps/konversation || -e /usr/share/apps/konversation ]]; then konvi_pid=$( ps -A | grep -i 'konversation' ) konvi_pid=$( echo $konvi_pid | gawk '{ print $1 }' ) konvi_home_dir=$( readlink /proc/$konvi_pid/exe )