postinst is in yorick-mpy-openmpi 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 14 | #!/bin/sh
set -e
update-alternatives --install /usr/bin/mpy mpy /usr/bin/mpy.openmpi 40 \
--slave /usr/lib/yorick/lib/libmpy.a libmpy.a \
/usr/lib/yorick/lib/libmpy.openmpi.a \
--slave /usr/lib/yorick/lib/mpymain.o mpymain.o \
/usr/lib/yorick/lib/mpymain.openmpi.o \
--slave /usr/lib/yorick/Makempy Makempy \
/usr/lib/yorick/Makempy.openmpi
exit 0
|