postinst is in liblapack-dev 3.7.1-4ubuntu1.
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 | #!/bin/sh
set -e
update-alternatives --install /usr/lib/x86_64-linux-gnu/liblapack.so \
liblapack.so-x86_64-linux-gnu \
/usr/lib/x86_64-linux-gnu/lapack/liblapack.so 20 \
--slave /usr/lib/x86_64-linux-gnu/liblapack.a \
liblapack.a-x86_64-linux-gnu \
/usr/lib/x86_64-linux-gnu/lapack/liblapack.a \
--slave /usr/lib/x86_64-linux-gnu/pkgconfig/lapack.pc \
lapack.pc-x86_64-linux-gnu \
/usr/lib/x86_64-linux-gnu/pkgconfig/lapack-netlib.pc
exit 0
|