mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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
|
#### Script Name: inxi
|
||||||
#### version: 1.7.34
|
#### version: 1.7.34
|
||||||
#### Date: April 26 2012
|
#### Date: April 26 2012
|
||||||
#### Patch Number: 01
|
#### Patch Number: 02
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -2585,8 +2585,8 @@ is_this_qt4_konvi()
|
||||||
if [[ $B_QDBUS == 'true' ]];then
|
if [[ $B_QDBUS == 'true' ]];then
|
||||||
konvi_dbus_exist=$( qdbus 2>/dev/null | grep "org.kde.konversation" )
|
konvi_dbus_exist=$( qdbus 2>/dev/null | grep "org.kde.konversation" )
|
||||||
fi
|
fi
|
||||||
|
# sabayon uses /usr/share/apps/konversation as path
|
||||||
if [[ -n $konvi_dbus_exist && -e /usr/share/kde4/apps/konversation ]]; then
|
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=$( ps -A | grep -i 'konversation' )
|
||||||
konvi_pid=$( echo $konvi_pid | gawk '{ print $1 }' )
|
konvi_pid=$( echo $konvi_pid | gawk '{ print $1 }' )
|
||||||
konvi_home_dir=$( readlink /proc/$konvi_pid/exe )
|
konvi_home_dir=$( readlink /proc/$konvi_pid/exe )
|
||||||
|
|
Loading…
Reference in a new issue