This file is indexed.

postinst is in libmpich-mpd1.0-dev 1.2.7-10ubuntu1.

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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh


set -e

case "$1" in
   configure)
      # Continue below
      ;;
   abort-upgrade|abort-remove|abort-deconfigure)
      exit 0;
      ;;
   *)
      echo "postinst called with unknown argument \`$1'" >&2
      exit 0;
      ;;
esac

update-alternatives \
    --install /usr/include/mpi mpi /usr/lib/mpich-mpd/include 10 \
    --slave /usr/lib/libmpi.a libmpi.a /usr/lib/mpich-mpd/lib/libmpich-p4mpd.a \
    --slave /usr/lib/libmpi.so libmpi.so /usr/lib/mpich-mpd/lib/shared/libmpich-p4mpd.so \
    --slave /usr/lib/libmpi++.a libmpi++.a /usr/lib/mpich-mpd/lib/libpmpich-p4mpd++.a \
    --slave /usr/lib/libmpi++.so libmpi++.so /usr/lib/mpich-mpd/lib/shared/libpmpich-p4mpd++.so \
    --slave /usr/bin/mpicc mpicc /usr/bin/mpicc.mpich-mpd \
    --slave /usr/bin/mpiCC mpiCC /usr/bin/mpiCC.mpich-mpd \
    --slave /usr/bin/mpicxx mpicxx /usr/bin/mpicxx.mpich-mpd \
    --slave /usr/bin/mpif77 mpif77 /usr/bin/mpif77.mpich-mpd \
    --slave /usr/bin/mpif90 mpif90 /usr/bin/mpif90.mpich-mpd \
    --slave /usr/bin/mpireconfig mpireconfig /usr/bin/mpireconfig.mpich-mpd \
    --slave /usr/share/man/man1/mpicc.1.gz mpicc.1.gz /usr/share/man/man1/mpicc.mpich-mpd.1.gz \
    --slave /usr/share/man/man1/mpiCC.1.gz mpiCC.1.gz /usr/share/man/man1/mpiCC.mpich-mpd.1.gz \
    --slave /usr/share/man/man1/mpicxx.1.gz mpicxx.1.gz /usr/share/man/man1/mpicxx.mpich-mpd.1.gz \
    --slave /usr/share/man/man1/mpif77.1.gz mpif77.1.gz /usr/share/man/man1/mpif77.mpich-mpd.1.gz \
    --slave /usr/share/man/man1/mpif90.1.gz mpif90.1.gz /usr/share/man/man1/mpif90.mpich-mpd.1.gz \
    --slave /usr/share/man/man1/mpireconfig.1.gz mpireconfig.1.gz /usr/share/man/man1/mpireconfig.mpich-mpd.1.gz