postinst is in locate 4.4.2-4ubuntu1.
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
update-alternatives --quiet --install /usr/bin/locate locate /usr/bin/locate.findutils 20 \
--slave /usr/share/man/man1/locate.1.gz locate.1.gz /usr/share/man/man1/locate.findutils.1.gz \
--slave /usr/bin/updatedb updatedb /usr/bin/updatedb.findutils \
--slave /usr/share/man/man1/updatedb.1.gz updatedb.1.gz /usr/share/man/man1/updatedb.findutils.1.gz
# vim:tabstop=2:expandtab:shiftwidth=2
|