This commit is contained in:
inxi-svn 2011-05-21 01:43:32 +00:00
parent 5b45de9320
commit 7a7d90d4f6

2
inxi
View file

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