~ubuntu-branches/ubuntu/wily/xorg/wily

« back to all changes in this revision

Viewing changes to debian/xserver-xorg.preinst.in

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2015-03-09 11:51:24 UTC
  • Revision ID: package-import@ubuntu.com-20150309115124-2gvv2bn6xyd6c7y4
Tags: 1:7.7+7ubuntu3
* Modesetting has been removed, remove from vars.
* Do not require vesa on armhf, only fbdev is useful.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# Debian xserver-xorg package pre-installation script
3
 
# Copyright 2003, 2004 Branden Robinson.
4
 
# Licensed under the GNU General Public License, version 2.  See the file
5
 
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
6
 
 
7
 
 
8
 
set -e
9
 
 
10
 
THIS_PACKAGE=xserver-xorg
11
 
THIS_SCRIPT=preinst
12
 
 
13
 
#INCLUDE_SHELL_LIB#
14
 
 
15
 
CONFIG_DIR=/etc/X11
16
 
SERVER_SYMLINK="$CONFIG_DIR/X"
17
 
CONFIG_AUX_DIR=/var/lib/x11
18
 
THIS_SERVER=/usr/bin/Xorg
19
 
 
20
 
if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
21
 
  # create the configuration files directory if it doesn't exist
22
 
  if ! [ -e "$CONFIG_DIR" ]; then
23
 
    observe "creating $CONFIG_DIR"
24
 
    mkdir --mode=755 --parents "$CONFIG_DIR"
25
 
  fi
26
 
fi
27
 
 
28
 
#DEBHELPER#
29
 
 
30
 
exit 0
31
 
 
32
 
# vim:set ai et sts=2 sw=2 tw=0: