postinst is in libqt4-dev 4:4.8.1-0ubuntu4.
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/moc moc "/usr/bin/moc-qt4" "40" \
--slave /usr/share/man/man1/moc.1.gz moc.1.gz \
"/usr/share/man/man1/moc-qt4.1.gz"
update-alternatives --install \
/usr/bin/uic uic "/usr/bin/uic-qt4" "40" \
--slave /usr/share/man/man1/uic.1.gz uic.1.gz \
"/usr/share/man/man1/uic-qt4.1.gz"
|