postrm 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 | #!/bin/sh -e
set -e
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
dpkg-divert --remove --package xserver-common-lts-trusty --rename \
--divert /usr/lib/xorg/protocol-precise.txt \
/usr/lib/xorg/protocol.txt
fi
exit 0
|