trying a fix for konvi version for sabayon, they changed paths

This commit is contained in:
inxi-svn 2012-04-26 20:17:25 +00:00
parent d37c485f87
commit fe958e912b

6
inxi
View file

@ -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 )