This file is indexed.

preinst is in libopenmpi-dev 1.10.2-8ubuntu1.

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



exit 0