File: flextra.postinst

package info (click to toggle)
flextra 5.0-18
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 928 kB
  • sloc: fortran: 7,018; makefile: 61; sh: 17
file content (23 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

#DEBHELPER#

case "$1" in
    configure|abort-remove|abort-deconfigure)
        # Install alternatives
        update-alternatives --install /usr/bin/flextra flextra /usr/bin/flextra.ecmwf 20
        ;;
    abort-upgrade)
        # Nothing to undo
        :;
        ;;

    *)
        echo "$0: Undocumented call: \"$@\"" >&2
        exit 1
        ;;
esac