postinst is in libslepc3.1-dev 3.1-p6.dfsg-1.
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 | #!/bin/sh -e
# Make alternatives links
if [ "$1" = "configure" ]; then
update-alternatives --install /usr/lib/slepc slepc /usr/lib/slepcdir/3.1 3100 \
--slave /usr/include/slepc slepcinclude /usr/lib/slepcdir/3.1/include \
--slave /usr/lib/libslepc.a libslepc.a /usr/lib/slepcdir/3.1/lib/libO/libslepc.a \
--slave /usr/lib/libslepc.so libslepc.so /usr/lib/libslepc.so.3.1
fi
|