postinst is in lam-runtime 7.1.2-2build1.
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
. /usr/share/debconf/confmodule
update-alternatives --install /usr/bin/mpirun mpirun /usr/bin/mpirun.lam 30 \
--slave /usr/share/man/man1/mpirun.1.gz mpirun.1.gz /usr/share/man/man1/mpirun.lam.1.gz \
--slave /usr/bin/mpiexec mpiexec /usr/bin/mpiexec.lam \
--slave /usr/share/man/man1/mpiexec.1.gz mpiexec.1.gz /usr/share/man/man1/mpiexec.lam.1.gz
exit 0
|