This file is indexed.

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