This file is indexed.

postinst is in mpich-shmem-bin 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/bin/mpirun mpirun /usr/bin/mpirun.mpich-shmem 10 \
    --slave /usr/share/man/man1/mpirun.1.gz mpirun.1.gz /usr/share/man/man1/mpirun.mpich-shmem.1.gz \
    --slave /usr/bin/mpiman mpiman /usr/bin/mpiman.mpich-shmem \
    --slave /usr/share/man/man1/mpiman.1.gz mpiman.1.gz /usr/share/man/man1/mpiman.mpich-shmem.1.gz \
    --slave /usr/bin/clog2alog clog2alog /usr/bin/clog2alog.mpich-shmem \
    --slave /usr/share/man/man1/clog2alog.1.gz clog2alog.1.gz /usr/share/man/man1/clog2alog.mpich-shmem.1.gz \
    --slave /usr/bin/clog_print clog_print /usr/bin/clog_print.mpich-shmem \
    --slave /usr/share/man/man1/clog_print.1.gz clog_print.1.gz /usr/share/man/man1/clog_print.mpich-shmem.1.gz \
    --slave /usr/bin/logviewer logviewer /usr/bin/logviewer.mpich-shmem \
    --slave /usr/bin/mpichversion mpichversion /usr/bin/mpichversion.mpich-shmem \
    --slave /usr/share/man/man1/mpichversion.1.gz mpichversion.1.gz /usr/share/man/man1/mpichversion.mpich-shmem.1.gz \
    --slave /usr/bin/chp4_servs chp4_servs /usr/bin/chp4_servs.mpich-shmem \
    --slave /usr/share/man/man1/chp4_servs.1.gz chp4_servs.1.gz /usr/share/man/man1/chp4_servs.mpich-shmem.1.gz \
    --slave /usr/bin/cleanipcs cleanipcs /usr/bin/cleanipcs.mpich-shmem \
    --slave /usr/share/man/man1/cleanipcs.1.gz cleanipcs.1.gz /usr/share/man/man1/cleanipcs.mpich-shmem.1.gz \
    --slave /usr/bin/tstmachines tstmachines /usr/bin/tstmachines.mpich-shmem \
    --slave /usr/share/man/man1/tstmachines.1.gz tstmachines.1.gz /usr/share/man/man1/tstmachines.mpich-shmem.1.gz