File: python-ferret.postinst

package info (click to toggle)
pyferret 7.0.0-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 117,852 kB
  • ctags: 21,106
  • sloc: fortran: 214,303; ansic: 25,025; python: 23,717; java: 1,755; sh: 1,375; makefile: 978; pascal: 569; csh: 285; awk: 18
file content (24 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

case "$1" in
   configure)
      # Continue below
      ;;
   abort-upgrade|abort-remove|abort-deconfigure)
      exit 0;
      ;;
   *)
      echo "postinst called with unknown argument \`$1'" >&2
      exit 0;
      ;;
esac

update-alternatives \
        --install /usr/bin/pyferret pyferret /usr/bin/pyferret2 50 \

#DEBHELPER#

exit 0