File: libmkl-dev.prerm.in

package info (click to toggle)
intel-mkl 2020.4.304-4
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 566,260 kB
  • sloc: xml: 3,919; sh: 798; python: 253; cpp: 211; ansic: 169; lisp: 145; awk: 117; makefile: 47
file content (29 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (4)
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
26
27
28
29
#!/bin/sh
set -e

# source debconf library
. /usr/share/debconf/confmodule

if [ "$1" != "upgrade" ]; then

    update-alternatives --remove libblas.so-@DEB_HOST_MULTIARCH@ \
                        /usr/lib/@DEB_HOST_MULTIARCH@/libmkl_rt.so

    update-alternatives --remove liblapack.so-@DEB_HOST_MULTIARCH@ \
                        /usr/lib/@DEB_HOST_MULTIARCH@/libmkl_rt.so

    if [ "amd64" = "@DEB_HOST_ARCH@" ]; then

    update-alternatives --remove libblas64.so-@DEB_HOST_MULTIARCH@ \
                        /usr/lib/@DEB_HOST_MULTIARCH@/libmkl_rt.so

    update-alternatives --remove liblapack64.so-@DEB_HOST_MULTIARCH@ \
                        /usr/lib/@DEB_HOST_MULTIARCH@/libmkl_rt.so

    fi

fi

#DEBHELPER#

exit 0