File: flexpart.postinst

package info (click to toggle)
flexpart 9.02-27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,944 kB
  • sloc: f90: 14,310; makefile: 29; sh: 18
file content (23 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (6)
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/flexpart flexpart /usr/bin/flexpart.ecmwf 20
        ;;
    abort-upgrade)
        # Nothing to undo
        :;
        ;;

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