This commit is contained in:
inxi-svn 2011-05-19 06:07:48 +00:00
parent fc6cd65d66
commit 15b9351a0a

2
inxi
View file

@ -2632,7 +2632,7 @@ detect_desktop_environment()
desktop_environment="Openbox${version}" desktop_environment="Openbox${version}"
fi fi
elif [[ -n $( grep -is 'ICEWM' <<< "$xprop_root" ) ]];then elif [[ -n $( grep -is 'ICEWM' <<< "$xprop_root" ) ]];then
version=$( icewm --version 2>/dev/null | grep -Esi 'iceWM [[:digit:]]' | gawk '{print $2}' ) version=$( icewm --version 2>/dev/null | grep -Esi 'iceWM [[:digit:]]' | gawk '{gsub(/,/, ""); print $2}' )
if [[ -n $version ]];then if [[ -n $version ]];then
version=" $version" version=" $version"
fi fi