File: liblapack-dev.postinst

package info (click to toggle)
lapack 3.2.1-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 55,196 kB
  • ctags: 33,064
  • sloc: fortran: 448,214; perl: 8,226; makefile: 1,528; sh: 87; awk: 70
file content (20 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

set -e

update-alternatives --install /usr/lib/liblapack.so liblapack.so /usr/lib/lapack/liblapack.so 20 \
     --slave /usr/lib/liblapack.a liblapack.a /usr/lib/lapack/liblapack.a

# Remove previous (deprecated) alternatives
# See bug #576801
update-alternatives --remove liblapackgf-3.a /usr/lib/liblapack.a
update-alternatives --remove liblapackgf-3.so /usr/lib/liblapack.so

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0