postinst is in libblas-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 | #!/bin/sh
set -e
update-alternatives --install /usr/lib/x86_64-linux-gnu/libblas.so libblas.so-x86_64-linux-gnu \
/usr/lib/x86_64-linux-gnu/blas/libblas.so 10 \
--slave /usr/lib/x86_64-linux-gnu/libblas.a libblas.a-x86_64-linux-gnu \
/usr/lib/x86_64-linux-gnu/blas/libblas.a \
--slave /usr/include/x86_64-linux-gnu/cblas.h cblas.h-x86_64-linux-gnu \
/usr/include/x86_64-linux-gnu/cblas-netlib.h \
--slave /usr/lib/x86_64-linux-gnu/pkgconfig/blas.pc \
blas.pc-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/pkgconfig/blas-netlib.pc
exit 0
|