This file is indexed.

postinst is in libopenblas-dev 0.2.20+ds-4.

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
21
22
23
24
25
#!/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/openblas/libblas.so 40 \
                    --slave /usr/lib/x86_64-linux-gnu/libblas.a libblas.a-x86_64-linux-gnu \
                    /usr/lib/x86_64-linux-gnu/openblas/libblas.a \
                    --slave /usr/include/x86_64-linux-gnu/cblas.h cblas.h-x86_64-linux-gnu \
                    /usr/include/x86_64-linux-gnu/cblas-openblas.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-openblas.pc

update-alternatives --install /usr/lib/x86_64-linux-gnu/liblapack.so \
                    liblapack.so-x86_64-linux-gnu \
	            /usr/lib/x86_64-linux-gnu/openblas/liblapack.so 40 \
                    --slave /usr/lib/x86_64-linux-gnu/liblapack.a liblapack.a-x86_64-linux-gnu \
                    /usr/lib/x86_64-linux-gnu/openblas/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-openblas.pc



exit 0