This commit is contained in:
inxi-svn 2011-05-21 23:20:21 +00:00
parent 02e122f8aa
commit 58abfed757

22
inxi
View file

@ -2617,12 +2617,11 @@ detect_desktop_environment()
version=$( get_de_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' ) version=$( get_de_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' )
if [[ -z $version ]];then if [[ -z $version ]];then
version='4' version='4'
else fi
if [[ $B_EXTRA_DATA == 'true' ]];then if [[ $B_EXTRA_DATA == 'true' ]];then
toolkit=$( get_de_version 'xfdesktop' 'Built[[:space:]]with[[:space:]]GTK' '4' ) toolkit=$( get_de_version 'xfdesktop' 'Built[[:space:]]with[[:space:]]GTK' '4' )
if [[ -n $toolkit ]];then if [[ -n $toolkit ]];then
version="$version (Gtk+ $toolkit)" version="$version (Gtk+ $toolkit)"
fi
fi fi
fi fi
desktop_environment="Xfce" desktop_environment="Xfce"
@ -2631,12 +2630,11 @@ detect_desktop_environment()
version=$( get_de_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' ) version=$( get_de_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' )
if [[ -z $version ]];then if [[ -z $version ]];then
version='5' version='5'
else fi
if [[ $B_EXTRA_DATA == 'true' ]];then if [[ $B_EXTRA_DATA == 'true' ]];then
toolkit=$( get_de_version 'xfdesktop' 'Built[[:space:]]with[[:space:]]GTK' '4' ) toolkit=$( get_de_version 'xfdesktop' 'Built[[:space:]]with[[:space:]]GTK' '4' )
if [[ -n $toolkit ]];then if [[ -n $toolkit ]];then
version="$version (Gtk+ $toolkit)" version="$version (Gtk+ $toolkit)"
fi
fi fi
fi fi
desktop_environment="Xfce" desktop_environment="Xfce"