mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
branch one, try two at fixing xfce 3 id failure
This commit is contained in:
parent
5d10366748
commit
db51b5e21a
5
inxi
5
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.2.0
|
#### Version: 2.2.0
|
||||||
#### Date: 2014-08-20
|
#### Date: 2014-08-20
|
||||||
#### Patch Number: 01-b1
|
#### Patch Number: 02-b1
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -4313,7 +4313,8 @@ get_desktop_environment()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
desktop_environment="Xfce"
|
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' )
|
version=$( get_program_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' )
|
||||||
# arch linux reports null, so use alternate if null
|
# arch linux reports null, so use alternate if null
|
||||||
if [[ -z $version ]];then
|
if [[ -z $version ]];then
|
||||||
|
|
Loading…
Reference in a new issue