mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
wrong branch, uploaded now to trunk the qdbus error squelch bug fix. Change version because output is error, now it's nulled.
This commit is contained in:
parent
b63089a6d6
commit
d35ed8b8e2
7
inxi
7
inxi
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.4.8
|
#### version: 1.4.9
|
||||||
#### Date: March 5 2010
|
#### Date: April 9 2010
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -1626,7 +1626,8 @@ is_this_qt4_konvi()
|
||||||
local konvi_qt4_client='' konvi_dbus_exist='' konvi_pid='' konvi_home_dir=''
|
local konvi_qt4_client='' konvi_dbus_exist='' konvi_pid='' konvi_home_dir=''
|
||||||
local konvi='' konvi_qt4_ver='' b_is_qt4=''
|
local konvi='' konvi_qt4_ver='' b_is_qt4=''
|
||||||
|
|
||||||
konvi_dbus_exist=$( qdbus | grep "org.kde.konversation" )
|
# fringe cases can throw error, always if untested app, use 2>/dev/null
|
||||||
|
konvi_dbus_exist=$( qdbus 2>/dev/null | grep "org.kde.konversation" )
|
||||||
|
|
||||||
if [[ -n $konvi_dbus_exist && -e /usr/share/kde4/apps/konversation ]]; then
|
if [[ -n $konvi_dbus_exist && -e /usr/share/kde4/apps/konversation ]]; then
|
||||||
konvi_pid=$( ps -A | grep -i 'konversation' )
|
konvi_pid=$( ps -A | grep -i 'konversation' )
|
||||||
|
|
Loading…
Reference in a new issue