postinst is in mawk 1.3.3-17ubuntu3.
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 | #!/bin/sh
set -e
update-alternatives --quiet --install /usr/bin/awk awk /usr/bin/mawk 5 \
--slave /usr/share/man/man1/awk.1.gz awk.1.gz /usr/share/man/man1/mawk.1.gz \
--slave /usr/bin/nawk nawk /usr/bin/mawk \
--slave /usr/share/man/man1/nawk.1.gz nawk.1.gz /usr/share/man/man1/mawk.1.gz
|