mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
trying a fix for konvi version for sabayon, they changed paths
This commit is contained in:
parent
d37c485f87
commit
fe958e912b
6
inxi
6
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 )
|
||||
|
|
Loading…
Reference in a new issue