postinst is in libsoqt4-dev 1.5.0-2.
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 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
update-alternatives \
--install /usr/share/Coin/conf/soqt-default.cfg \
soqt-dev /usr/share/Coin/conf/soqt-qt4.cfg 4 \
--slave /usr/lib/libSoQt.so libSoQt.so /usr/lib/libSoQt4.so \
--slave /usr/lib/libSoQt.la libSoQt.la /usr/lib/libSoQt4.la \
--slave /usr/lib/libSoQt.a libSoQt.a /usr/lib/libSoQt4.a
fi
|