This file is indexed.

preinst is in libopenmpi-dev 2.1.1-8.

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
#!/bin/sh

set -e

# mpicc seemed to be used as a master alternative by some MPI package. But
# currently, all MPI packages have the mpicc alternative installed as a slave
# link. We remove the link here in order to resolve bugs #531184 and #532910.

update-alternatives --quiet --remove-all mpicc >/dev/null 2>&1 || true
update-alternatives --quiet --remove-all mpiCC >/dev/null 2>&1 || true

# This may be left hanging on the upgrade to multi-arch.
rm -f /usr/lib/libpmix.so



exit 0