postinst is in locales-all 2.27-3ubuntu1.
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 | #!/bin/sh
set -e
export LC_ALL=C
if [ "$1" = "configure" ]; then
# Remove existing locale-archive, otherwise they are prefered
# to the ones in this package
rm -f /usr/lib/locale/locale-archive 2>/dev/null || true
fi
exit 0
|