prerm is in libslepc-complex-3.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_COMPLEX_ARCH=${SLEPC_ARCH}-complex
SLEPC_DIR_COMPLEX=/usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
# Remove alternatives links
if [ "$1" = "remove" ]; then
update-alternatives --remove slepc /usr/lib/slepcdir/${SLEPC_VERSION}/${SLEPC_COMPLEX_ARCH}
update-alternatives --remove libslepc_complex.so /usr/lib/${DEB_HOST_MULTIARCH}/libslepc_complex.so.${SLEPC_VERSION}
update-alternatives --remove slepc${SONAME} ${SLEPC_DIR_COMPLEX}
update-alternatives --remove slepc${SONAME}-complex ${SLEPC_DIR_COMPLEX}
fi
|