summaryrefslogtreecommitdiff
path: root/debian/xserver-xorg-core.preinst.in
blob: c1b84a2d283e0f9421b7899b1f5b623e9b0e2994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e

THIS_PACKAGE=xserver-xorg-core
THIS_SCRIPT=preinst

#INCLUDE_SHELL_LIB#

case "$1" in
upgrade|install)
  if dpkg --compare-versions "$2" lt-nl 2:1.5.2-1; then
    remove_conffile_lookup xserver-xorg-core /etc/X11/xserver/SecurityPolicy
  fi
esac

#DEBHELPER#

exit 0

# vim:set ai et sw=2 ts=2 tw=80: