File: postinst

package info (click to toggle)
python-wxmpl 2.0.0-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,104 kB
  • ctags: 2,765
  • sloc: python: 2,288; sh: 15; makefile: 8
file content (17 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e

set -e

case "$1" in
    configure|abort-upgrade|abort-remove|abort-deconfigure)
        update-alternatives --install /usr/lib/mx/plotgnu mx-plot \
        	/usr/lib/mx/plotgnu.plotit 10
    ;;

    *)
        echo "postinst called with unknown argument \$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#