File: liblapack-dev.postinst

package info (click to toggle)
lapack 3.4.1+dfsg-1+deb70u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 103,172 kB
  • sloc: fortran: 469,422; ansic: 127,041; makefile: 3,817; python: 267; sh: 94
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