postinst is in yorick-mpy-mpich2 2.2.02+dfsg-6ubuntu2.
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/mpy mpy /usr/bin/mpy.mpich2 40 \
--slave /usr/lib/yorick/lib/libmpy.a libmpy.a \
/usr/lib/yorick/lib/libmpy.mpich2.a \
--slave /usr/lib/yorick/lib/mpymain.o mpymain.o \
/usr/lib/yorick/lib/mpymain.mpich2.o \
--slave /usr/lib/yorick/Makempy Makempy \
/usr/lib/yorick/Makempy.mpich2
exit 0
|