postinst is in qt4-linguist-tools 4:4.8.1-0ubuntu4.9.
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 --install \
/usr/bin/lupdate lupdate "/usr/bin/lupdate-qt4" "40" \
--slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
"/usr/share/man/man1/lupdate-qt4.1.gz"
update-alternatives --install \
/usr/bin/lrelease lrelease "/usr/bin/lrelease-qt4" "40" \
--slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
"/usr/share/man/man1/lrelease-qt4.1.gz"
|