postinst is in xkb-data 2.10.1-1ubuntu1.
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 | #!/bin/sh
set -e
THIS_PACKAGE=xkb-data
THIS_SCRIPT=postinst
# Remove the xkb cache to make sure it gets regenerated
if [ -d /var/lib/xkb/ ]; then
rm -f /var/lib/xkb/*.xkm 2>/dev/null
fi
# vim:set ai et sw=2 ts=2 tw=80:
|