branch one, try two at fixing xfce 3 id failure

This commit is contained in:
inxi-svn 2014-08-21 02:41:20 +00:00
parent 5d10366748
commit db51b5e21a

5
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi
#### Version: 2.2.0
#### Date: 2014-08-20
#### Patch Number: 01-b1
#### Patch Number: 02-b1
########################################################################
#### SPECIAL THANKS
########################################################################
@ -4313,7 +4313,8 @@ get_desktop_environment()
fi
fi
desktop_environment="Xfce"
elif [[ -n $( grep -is '\"xfce\"' <<< "$xprop_root" ) ]];then
# case where no xfce number exists, just xfce
elif [[ -n $( grep -is 'xfce' <<< "$xprop_root" ) ]];then
version=$( get_program_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' )
# arch linux reports null, so use alternate if null
if [[ -z $version ]];then