fixed little issue, now only shows exact string search for desktop extra info

This commit is contained in:
inxi-svn 2012-06-24 08:41:29 +00:00
parent f83ab4df38
commit c6af37371d

2
inxi
View file

@ -3368,7 +3368,7 @@ get_desktop_extra_data()
desktops=""
separator=""
}
/cinnamon|gnome-shell|gnome-panel|lxpanel|mate-panel|plasma-desktop|xfce4-panel/ {
/(cinnamon|gnome-shell|gnome-panel|lxpanel|mate-panel|plasma-desktop|xfce4-panel)$/ {
# only one entry per type, can be multiple
if ( desktops !~ $NF ) {
desktops = desktops separator $NF