This file is indexed.

prerm is in libslepc3.7.4-dev 3.7.4+dfsg1-2build8.

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

DEB_HOST_MULTIARCH=x86_64-linux-gnu

SONAME=3.7

SLEPC_VERSION=3.7.4
SLEPC_ARCH=${DEB_HOST_MULTIARCH}
SLEPC_REAL_ARCH=${SLEPC_ARCH}-real

SLEPC_DIR_REAL=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}

# Remove alternatives links
if [ "$1" = "remove" ]; then
  update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_REAL_ARCH}
  update-alternatives --remove libslepc_real.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_real.so.${SLEPC_VERSION}

  update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_REAL}
  update-alternatives --remove slepc${SONAME}-real ${SLEPC_DIR_REAL}
fi