From 8d22723bfb6f9449a8d11860cb168e3086b00616 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 2 Dec 2013 21:44:30 +0000 Subject: [PATCH] trying a gnome version update --- inxi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index cfca3ab..3747527 100755 --- a/inxi +++ b/inxi @@ -3809,7 +3809,11 @@ get_desktop_environment() # note, GNOME_DESKTOP_SESSION_ID is deprecated so we'll see how that works out # https://bugzilla.gnome.org/show_bug.cgi?id=542880 elif [[ -n $GNOME_DESKTOP_SESSION_ID ]]; then - version=$( get_de_app_version 'gnome-about' 'gnome' '3' ) + if [[ -n $( type -p gnome-shell ) ]];then + version=$( get_de_app_version 'gnome-shell' 'gnome' '3' ) + elif [[ -n $( type -p gnome-about ) ]];then + version=$( get_de_app_version 'gnome-about' 'gnome' '3' ) + fi if [[ $B_EXTRA_DATA == 'true' ]];then toolkit=$( get_de_gtk_data ) if [[ -n $toolkit ]];then