From bb43c32dbc730166a0158a343e79ed12bb4ab11c Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 19 May 2011 07:05:56 +0000 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 33918e7..108771f 100755 --- a/inxi +++ b/inxi @@ -2655,7 +2655,7 @@ detect_desktop_environment() fi fi # a few manual hacks for things that don't id with xprop, these are just good guesses - if [[ -z $desktop_environment ]];then + if [[ $desktop_environment == 'N/A' ]];then if [[ -n $( grep -is 'fvwm-crystal' <<< "$ps_aux" | grep -v 'grep' ) ]];then version=$( fvwm --version 2>/dev/null | grep -Esi 'fvwm [[:digit:]]' | gawk '{print $2}' ) if [[ -n $version ]];then