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

set -e

THIS_PACKAGE=xserver-xorg-core
THIS_SCRIPT=postinst

#INCLUDE_SHELL_LIB#

case "$1" in
  configure)
  if dpkg --compare-versions "$2" lt-nl 2:1.5.2-1; then
    remove_conffile_commit /etc/X11/xserver/SecurityPolicy
    rmdir /etc/X11/xserver 2>/dev/null || true
  fi
esac

#DEBHELPER#

exit 0

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