~raof/gnome-session/fix-bug-623700

« back to all changes in this revision

Viewing changes to debian/55gnome-session_gnomerc

  • Committer: chrisccoulson at googlemail
  • Date: 2009-03-03 20:30:59 UTC
  • Revision ID: chrisccoulson@googlemail.com-20090303203059-hyfc1qt1wccyqsf3
Initial gnome-session import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# If we are running the GNOME session, source ~/.gnomerc
 
2
 
 
3
BASESTARTUP=`basename "$STARTUP" | cut -d\  -f1`
 
4
if [ "$BASESTARTUP" = gnome-session -o \
 
5
        \( "$BASESTARTUP" = x-session-manager -a \
 
6
        "`readlink /etc/alternatives/x-session-manager`" = \
 
7
                /usr/bin/gnome-session \) ]; then
 
8
  GNOMERC=$HOME/.gnomerc
 
9
  if [ -r "$GNOMERC" ]; then
 
10
    . "$GNOMERC"
 
11
  fi
 
12
fi