[PC-BSD Commits] r12079 - pcbsd/current/src-sh/de-info/de-profiles

svn at pcbsd.org svn at pcbsd.org
Wed Aug 10 11:55:51 PDT 2011


Author: kris
Date: 2011-08-10 11:55:50 -0700 (Wed, 10 Aug 2011)
New Revision: 12079

Modified:
   pcbsd/current/src-sh/de-info/de-profiles/gnome.profile
   pcbsd/current/src-sh/de-info/de-profiles/xfce.profile
Log:

Fixed detection of gnome/xfce active sessions



Modified: pcbsd/current/src-sh/de-info/de-profiles/gnome.profile
===================================================================
--- pcbsd/current/src-sh/de-info/de-profiles/gnome.profile	2011-08-10 18:42:15 UTC (rev 12078)
+++ pcbsd/current/src-sh/de-info/de-profiles/gnome.profile	2011-08-10 18:55:50 UTC (rev 12079)
@@ -3,7 +3,7 @@
 
 DE_SU="gksu %s"
 
-if [ $DESKTOP_SESSION = "gnome" ] || [ $DESKTOP_SESSION = "openbox-gnome"  ] ; then
+if [ $DESKTOP_SESSION = "gnome" ] || [ "$DESKTOP_SESSION" = "02gnome" ] || [ $DESKTOP_SESSION = "openbox-gnome"  ] ; then
 DE_ACTIVE=1
 fi
 

Modified: pcbsd/current/src-sh/de-info/de-profiles/xfce.profile
===================================================================
--- pcbsd/current/src-sh/de-info/de-profiles/xfce.profile	2011-08-10 18:42:15 UTC (rev 12078)
+++ pcbsd/current/src-sh/de-info/de-profiles/xfce.profile	2011-08-10 18:55:50 UTC (rev 12079)
@@ -3,7 +3,7 @@
 
 DE_SU="gksu %s"
 
-if [ $DESKTOP_SESSION = "xfce4" ] ; then
+if [ "$DESKTOP_SESSION" = "xfce4" -o "$DESKTOP_SESSION" = "04xfce" ]; then
 DE_ACTIVE=1
 fi
 



More information about the Commits mailing list