mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
tweak
This commit is contained in:
parent
5b45de9320
commit
7a7d90d4f6
2
inxi
2
inxi
|
@ -2676,7 +2676,7 @@ detect_desktop_environment()
|
||||||
fi
|
fi
|
||||||
desktop_environment="FVWM${version}"
|
desktop_environment="FVWM${version}"
|
||||||
elif [[ -n $( grep -is 'pekwm' <<< "$ps_aux" | grep -v 'grep' ) ]];then
|
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
|
if [[ -n $version ]];then
|
||||||
version=" $version"
|
version=" $version"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue