awesome bug fix

This commit is contained in:
inxi-svn 2011-05-21 21:36:16 +00:00
parent fc0598d2e7
commit 7f928d583f

2
inxi
View file

@ -2682,7 +2682,7 @@ detect_desktop_environment()
fi fi
desktop_environment="pekwm${version}" desktop_environment="pekwm${version}"
elif [[ -n $( grep -is 'awesome' <<< "$ps_aux" | grep -v 'grep' ) ]];then elif [[ -n $( grep -is 'awesome' <<< "$ps_aux" | grep -v 'grep' ) ]];then
version=$( awesome --version 2>/dev/null | grep -Esi 'awesome ([[:digit:]]|GIT)' | gawk '{print $2}' ) version=$( awesome --version 2>/dev/null | grep -Esi 'awesome' | gawk '{print $2}' )
if [[ -n $version ]];then if [[ -n $version ]];then
version=" $version" version=" $version"
fi fi