File: libcoarrays-mpich-dev.postinst.in

package info (click to toggle)
open-coarrays 2.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,684 kB
  • sloc: ansic: 11,788; f90: 11,161; sh: 3,745; makefile: 53
file content (17 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then

update-alternatives \
    --install /usr/bin/caf.mpich     caf-mpich     /usr/lib/@DEB_HOST_MULTIARCH@/open-coarrays/mpich/bin/caf 40 \
    --slave   /usr/bin/cafrun.mpich  cafrun-mpich  /usr/lib/@DEB_HOST_MULTIARCH@/open-coarrays/mpich/bin/cafrun 

update-alternatives \
    --install /usr/bin/caf     caf    /usr/bin/caf.mpich   40 \
    --slave   /usr/bin/cafrun  cafrun /usr/bin/cafrun.mpich

fi

#DEBHELPER#