~ubuntu-branches/ubuntu/precise/xorg-lts-raring/precise-updates

« back to all changes in this revision

Viewing changes to debian/local/Xsession.d/30x11-common_xresources

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-05-08 09:06:14 UTC
  • Revision ID: package-import@ubuntu.com-20130508090614-2n1cmnq6ofw9nucc
Tags: 1:7.7+1ubuntu4~precise1
Initial lts-raring xserver stack upload, i386 and amd64 only. (LP:
#1177679)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 30x11-common_xresources 305 2005-07-03 18:51:43Z dnusinow $
 
2
 
 
3
# This file is sourced by Xsession(5), not executed.
 
4
 
 
5
# If xrdb (from xbase-clients) is installed, merge system-wide X resources.
 
6
# Then merge the user's X resources, if the options file is so configured.
 
7
if [ -d "$SYSRESOURCES" ] && type xrdb >/dev/null 2>&1; then
 
8
  RESOURCEFILES=$(run-parts --list $SYSRESOURCES)
 
9
  if [ -n "$RESOURCEFILES" ]; then
 
10
    for RESOURCEFILE in $RESOURCEFILES; do
 
11
      xrdb -merge $RESOURCEFILE
 
12
    done
 
13
  fi
 
14
fi
 
15
 
 
16
if has_option allow-user-resources && [ -f "$USRRESOURCES" ]; then
 
17
  if type xrdb >/dev/null 2>&1; then
 
18
    xrdb -merge $USRRESOURCES
 
19
  else
 
20
    # Comment out this command if you desire a legacy-free X environment, and find
 
21
    # the warning spurious.
 
22
    message "warning: xrdb command not found; X resources not merged."
 
23
  fi
 
24
fi
 
25
 
 
26
# vim:set ai et sts=2 sw=2 tw=80: