This file is indexed.

preinst is in xserver-common-lts-trusty 2:1.15.1-0ubuntu2~precise5.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e
set -e

if [ "$1" != upgrade ]; then
#     if dpkg-divert --listpackage /usr/lib/xorg/protocol.txt | grep -q  xserver-common-lts-trusty; then
#       dpkg-divert --remove --package xserver-common-lts-trusty --rename \
#           --divert /usr/lib/xorg/protocol-precise.txt \
#           /usr/lib/xorg/protocol.txt
#     fi

    dpkg-divert --add --package xserver-common-lts-trusty --rename \
        --divert /usr/lib/xorg/protocol-precise.txt \
        /usr/lib/xorg/protocol.txt
fi



exit 0