This file is indexed.

prerm is in libpetsc-complex-3.7.7 3.7.7+dfsg1-2build5.

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

DEB_HOST_MULTIARCH=x86_64-linux-gnu
PETSC_VERSION=3.7.7
SONAME=3.7

# Remove alternatives links
if [ "$1" = "remove" ]; then
  update-alternatives --remove libpetsc.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION}
  update-alternatives --remove libpetsc_complex.so.${SONAME} /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc_complex.so.${PETSC_VERSION}
fi